na_conformer {portalr} | R Documentation |
Conform NA entries to "NA" entries
Description
Given the species abbreviation Neotoma albigula (NA), when data are read in, there can be an NA
when it should be an "NA"
. This function conforms the entries to be proper character values.
Usage
na_conformer(dfv, colname = "species")
Arguments
dfv |
Either [1] a |
colname |
|
Value
x
with any NA
in colname
replaced with "NA"
.
Examples
na_conformer(c("a", "b", NA, "c"))
[Package portalr version 0.4.1 Index]