Description Usage Arguments Details Value Examples
A function to calculate the abundance vector, or frequencies of frequencies of discrete or partly discrete
data vector x. The abundance vector is used as input in the functions dPD(), MLEp(), and LMTp().
1 | abundance(x)
|
x |
Data vector |
This function is equivalent to table(table(x)).
This function returns a named vector with the frequencies of the frequencies in the data vector x.
The function base::table(x) returns a contingency table with the frequencies in the input data vector x as
values. The names(table(x)) are the unique values in data vector x. In abundance(x),
the unique values in table(x) become the names of the values, while the values
themselves are the frequencies of the frequencies of data vector x.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.