This function condenses data for studies that have multiple observations for a given trait into a single row. This function concatenates multiple values into a single cell

bind_trait_values(trait_data)

Arguments

trait_data

The trait data frame generated from austraits - see example

Value

tibble that is condensed down where multiple observations in value, value_type and replicates are collapsed down and separated by '--'

Author

Daniel Falster - daniel.falster@unsw.edu.au

Examples

if (FALSE) {
traits <- austraits$traits %>% 
dplyr::filter(dataset_id == "Falster_2005_1")
traits
traits_bind <- bind_trait_values(traits)
}