copredict: Extrapolating richness via curve-fitting

Description Usage Arguments

View source: R/copredict.R

Description

Fit a series of curves to subsamples of the data, return an extrapolated estimate and 95% confidence interval estimate of affiliate richness at extrapolated host richness

Usage

1
copredict(assoc.df, n.indep, iter, plot = TRUE)

Arguments

assoc.df

A data frame of host-affiliate intractions, host names in the first column and affiliate names in the second

n.indep

The independent host richness (the model predicts and extrapolates to this vallue)

plot

(boolean; default is TRUE) plot results?

iter1

Set the number of times to fit a curve

iter2

Set the number of points to subsample at each host richness within the generation of each curve


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