coextinct: Binary rarefaction (curve-fitting)

Description Usage Arguments

View source: R/coextinct.R

Description

This function runs the subsampling algorithm on the association dataset, and returns a fitted model describing the power law relationship

Usage

1
coextinct(assoc.df, iter = 100, plots = FALSE, subSample = NULL)

Arguments

assoc.df

The raw dataset of associations (pairs of names in two columns, hosts and affiliates)

iter

Number of iterations required for each subsample

plots

Do you want plots? Maybe you do. The world is your oyster.

subSample

Fraction of host species to subsample (default=NULL, use all data)


cjcarlson/codependent documentation built on July 26, 2019, 2:56 a.m.