Plot location where trait data was collected from

plot_locations(aus_traits, feature = "trait_name", ...)

Arguments

aus_traits

austraits object OR traits table. Note location details must be joined. See join_all and examples

feature

grouping/classification categories e.g trait_name, collection_type for <= v3.0.2, basis of record for >3.0.2

...

arguments passed to ggplot()

Value

ggplot of sites

Author

Dony Indiarto - d.indiarto@student.unsw.edu.au

Examples

if (FALSE) {
#All traits from a given study
data <- austraits %>% extract_dataset(dataset_id = "Falster_2003") %>% join_all() 
data %>% plot_locations("trait_name")

#Single trait
data <- austraits %>% extract_trait(trait_names = c("plant_height")) %>% join_all() 
data$traits %>% plot_locations("trait_name")
}