powered by
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)
data.frame
character
boolean
Marcelo Reginato
This function takes a data.frame with polymorphic characters and prepares it to use in the function buildKey.
dichoKey
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
Run the code above in your browser using DataLab