View source: R/species_to_mfg_df.r
species_to_mfg_df | R Documentation |
Wrapper function to apply species_phyto_convert() across a data.frame
species_to_mfg_df(phyto.df, flag = 1, mfgDbase = NA)
phyto.df |
Name of data.frame. Must have character fields named 'genus' and 'species' |
flag |
Resolve ambiguous MFG: 1 = return(NA), 2 = manual selection |
mfgDbase |
specify library of species to MFG associations. |
input data.frame with a new character column of MFG classifications and diagnostic information
data(lakegeneva)
#example dataset with 50 rows
new.lakegeneva <- genus_species_extract(lakegeneva,'phyto_name')
new.lakegeneva <- species_to_mfg_df(new.lakegeneva)
head(new.lakegeneva)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.