na.replace | R Documentation |
Replace NAs with a string for convenience
na.replace(vec, replacement = "NA")
vec |
Character vector or factor containing NAs |
replacement |
Character replacement (default: 'NA') |
Vector or factor with NAs replaced
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.