Description Usage Arguments Details Value Examples
This takes a CTFS demography table, output by functions mortality, growth, or recruitment, and removes rows where N == 0, or key data are NA.
1 2 |
type |
"mort" or "abund" to refer to columns by name or number. |
The rownames are assumed to refer to species names, and some codes can be excluded using the argument excludespp. The four columns can be submitted by name or number using default column headers, or by setting type to 'mort'or 'abund'.
A logical vector indicating with TRUE which rows to keep, not the cleaned table itself.
1 2 3 4 5 6 7 8 9 | ## Not run:
rows.include = clean.demography(demogtable,
type = 'growth',
Ncol = 'N',
ratecol = 'ratecol')
result = demogtable[rows.include, ]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.