dataKey {monographaR} | R Documentation |
This function takes a data.frame with polymorphic and/or missing data (NA) characters and prepares it to use in the function buildKey.
dataKey(dat, poly.sep = "/", return.summary = T)
dat |
data.frame |
poly.sep |
character |
return.summary |
boolean |
This function takes a data.frame with polymorphic characters and prepares it to use in the function buildKey.
data.frame
Marcelo Reginato
data(monographaR_examples)
monographaR_examples$dichoKey -> dat
colnames(dat)[1] <- "species"
### Prepare matrix (polymorphic)
dataKey(dat, poly.sep = "/") -> dat.k
dat.k$dat -> dat.p