rpkc_s: Remove Parents Keep Children - One sample variant.

Description Usage Arguments Value References Examples

Description

Remove Parents Keep Children - One sample variant.

Usage

1
rpkc_s(x, value.var = NULL)

Arguments

x

list; An object of class wide_class as returned by get_hier.

value.var

character; Name of the column holding the abundances.

Value

a list of class 'restax', with the following elements

References

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).

Examples

1
2
3
4
5
6
7
8
9
## 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')
rpkc_s(df_w, value.var = 'A')

## End(Not run)

EDiLD/restax documentation built on May 6, 2019, 3:04 p.m.