Description Usage Arguments Value Author(s) See Also
View source: R/make_species_list.R
Generate a data frame containing unique species names, summed abundances and search terms to be used by confirm_species_list.
1 2 3 4 5 6 7 | make_species_list(
dat,
sp.col = "species",
ab.col = NULL,
st.col = NULL,
exp.col = NULL
)
|
dat |
Data frame containing taxonomy information. Must be in long format. |
sp.col |
Character specifying the column name that contains species names in |
ab.col |
Character specifying the column name that contains species abundances in |
st.col |
Character specifying the column name that contains station names in |
exp.col |
Character specifying the column name that contains expedition in |
Returns speciesList object containing a list of unique species entries in dat ($data) and summary information ($sum_info). $data contains following columns:
or_name The original species names (as unique levels in dat).
expedition Expeditions during which the species occurred. Several expeditions are separated by ;.
ab Summed abundance for a species entry.
n Number of stations where the species name was encountered (n)
perAb Summed abundance for a species entry as a percentage of total summed abundance ($sum_info$abSum).
fo Frequency of occurrence for a species entry (total number of stations is given in $sum_info$N).
search_term A tidied search term for confirm_species_list function.
type Type of species (spores, symbionts and epiphytes are separated, otherwise NA).
certainty Certainty of species identification (includes sp., spp., aff., cf. and unknown).
Mikko Vihtakari
confirm_species_list for confirming the species names against a database.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.