data(community)
data(trait)
filled_traits <- trait_fill(
comm = community, traits = trait,
scale_hierarchy = c("Site", "PlotID"),
taxon_col = "Taxon", value_col = "Value",
trait_col = "Trait", abundance_col = "Cover"
)
trait_missing(filled_traits, community)
Run the code above in your browser using DataLab