get_cc_ks_fs: Get formatted frequency count table data

Description Usage Arguments Details Value Examples

View source: R/fct_functions.R

Description

Formats the frequency count table data in the format required by the liklihood function

Usage

1

Arguments

fct

A frequency count table.

Details

I may hide this from the user in the final version of this package. It is primarily useful for running tests on the likelihood function.

Value

This function returns a list with cc (observed richness), and vectors which are just the columns of the frequency count table.

Examples

1
2
toy_fct <- data.frame(freq = c(1,2,3), numTaxa = c(14,7,2))
get_cc_ks_fs(toy_fct)

statdivlab/rre documentation built on Nov. 5, 2019, 9:20 a.m.