keepGood | R Documentation |
Removes rows where all values are missing, keeps the remainder.
keepGood(obs, quiet = TRUE, logfile = "")
obs |
Required. A CRHMr obs dataframe. |
quiet |
Optional. Suppresses display of messages, except for errors. If you
are calling this function in an R script, you will usually leave |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used. |
If successful, returns the dataframe containing all rows with any non-missing alues. If unsuccessful (including if there are only missing values in the original data), returns an error.
Kevin Shook
trimObs
BadLake.good <- keepGood(BadLake7376)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.