How to delete rows that have up to 6 variables that are nont NA in R : <p>Hello so I want to delete some rows from a data frame. In the dataframe 5 of the variables have value always. And the others may have or have NA value. So I want to keep only the rows that Have at least 6 variables with value. </p>

<p>I tried using dropna(df, thresh=6) but this I think works only in python and I couldnt find the syntax for the R. </p>

<p>Thank you</p>
