get_powerlaw | R Documentation |
Continuous maximum likelihood estimators for fitting the power-law distribution to data. This fuction is based on poweRlaw package using the methods described in Clauset et al, 2009.
get_powerlaw(incidence, threads = 1, seed = 123, no_of_sims = 1000)
incidence |
The incidence of interaction in the data |
threads |
The number of threads used in boostrapping |
seed |
Set the seed for replication |
no_of_sims |
Set the seed number of replications in bootstrap |
A list
with the power law distribution fitted to incidence data and de p-value of the test
## Not run: #' library(ecointeraction) data(birdsplasmodiumrelictum) get_powerlaw(birdsplasmodiumrelictum) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.