transformNA | R Documentation |
Replaces all NA's in data (data.frame, list, etc) with an alternative
transformNA(data, na.alternative = "-")
data |
data.frame, list or ... that contains NA's which need to be replaced |
na.alternative |
the object with which NA's need to be replace. Be aware that a list or column of a data.frame may change class when taking this action! |
data with replaced NA's
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.