This function lets the user remove all rows that have some or all values as NAs
numericalonly(df, dropnacols = TRUE, logs = FALSE, natransform = NA)
Data.frame
Boolean. Drop columns with only NA values?
Boolean. Calculate log(x)+1 for numerical columns?
String. "mean" or 0 to impute NA values. If set to NA no calculation will run.