getUniqueFZs | R Documentation |
Function to determine the unique factor and size combinations from a dataframe of "size" compositions.
getUniqueFZs(
dfr,
id.size = "size",
id.value = NULL,
id.facs = "",
cutpts = NULL,
expandToAllFactorCombos = FALSE,
verbose = verbose
)
dfr |
- input dataframe with composition data by "size" and other factors |
id.size |
- name of column in dfr with "size" data |
id.value |
- name of column in dfr with count (or abundance) values |
id.facs |
- character vector of factor column names |
cutpts |
- vector of cutpoints for size compositions (or NULL to extract from dfr) |
expandToAllFactorCombos |
- flag to expand to all factor combinations (TRUE) or only observed combinations (FALSE) |
verbose |
- flag to print diagnostic output to console |
If id.facs is blank, all columns other than the size and value columns are assumed to be factor columns.
dataframe with compositions by size (and possibly other factors) expanded to all sizes.
Non-standard column names SHOULD NOT be backquoted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.