thresh allows you to specify a minimum number of non-NA values a row or column should have to keep it. For example, if you set thresh=2, then rows with at least two non-NA values will be kept.