Description Usage Arguments Value References Examples
Merge Children with Parents - One sample variant.
1 |
x |
list; An object of class wide_class as returned by
|
value.var |
character; Name of the column holding the abundances. |
level |
character; Taxonomic level above taxa will be eliminated.
Should be returned by |
a list of class 'restax', with the following elements
comm - resolved community data (one sample)
action - what was done with the taxon
merged - is the taxon merged
method - method to resolve taxa
Cuffney, T. F., Bilger, M. D. & Haigler, A. M. Ambiguous taxa: effects on the characterization and interpretation of invertebrate assemblages. Journal of the North American Benthological Society 26, 286-307 (2007).
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
data(samp)
# transpose data
df <- data.frame(t(samp), stringsAsFactors = FALSE)
df[ , 'taxon'] <- rownames(df)
df_w <- get_hier(df, taxa.var = 'taxon', db = 'itis')
names(df_w$hier)
mcwp_s(df_w, value.var = 'A', level = 'Family')
mcwp_s(df_w, value.var = 'A', level = 'Order')
mcwp_s(df_w, value.var = 'A', level = 'Class')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.