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)

Arguments

proj

object of class rmapi_project.

type

which model to fit to the data: 1 = linear model, 2 = exponential model.