Description Usage Arguments Value References Examples
Remove Parent or Merge Child (RPMC) - Group variant.
1 |
x |
list; An object of class wide_class as returned by
|
value.var |
character; Which sampledf_w$ should be resolved.
If |
group |
character; Names of columns (=samples) for grouping.
If |
a list of class 'restax', with the following elements
comm - resolved community data matrix in wide format.
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 13 | ## 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')
rpmc_g(df_w, value.var = 'S3', group = c('S1', 'S2', 'S3', 'S4'))
# using all samples for grouping
rpmc_g(df_w, value.var = 'S3')
# All samples at one time
rpmc_g(df_w)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.