R Coding

Coding in R

A few snipits of code that are always useful:

Finding which column has NA values:

unlist(lapply(dataframe , function(x) any(is.na(x))))

Leave a Reply

Your email address will not be published. Required fields are marked *