updateTraits | R Documentation |
Checks traits table for column names and adds data from a new table
updateTraits(traits, traitsNew, deleteReplicates = TRUE, fill = TRUE)
traits |
Existing trait table |
traitsNew |
Table containing new trait data |
deleteReplicates |
If set to TRUE, retains the first mention of a species, then removes all following mentions |
fill |
If set to TRUE, fills empty numeric values with mean values of the genus |
table
Traits <- ausTraitTable(version = "3.0.2", path = "data/austraits")
TraitsNew <- read.csv("Traits.csv")
Tr <- updateTraits(traits = Traits, traitsNew = TraitsNew, deleteReplicates = TRUE, fill = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.