fit_model.Rd
Fit a simple linear or exponential model to the distribution of the observed statistic as a function of distance. Can be used in the simulation step to generate a null model against which to compare.
fit_model(proj, type = 1)
proj | object of class |
---|---|
type | which model to fit to the data: 1 = linear model, 2 = exponential model. |