This function fits three gradient models (exponential, power, and modified power) to given data
by linear regression of log(Y) and returns the parameters, R-squared values (on the log
scale) and diagnostic plots for each model. The models are not ranked; compare them using the
R-squared values and the residual patterns in the plots.
Value
A list containing:
- data
The input data, which will include an additional column 'mod_x'.
- results_table
A data frame with one row per model: intercept
a, slopeb, their standard errors and significance symbols ("*"p < 0.05,"**"p < 0.01), the back-transformed intercepta_back = exp(a)andR2. Values are rounded to three decimals; the fitted curves in the plots use unrounded estimates.- plot_exponential
Diagnostic plot for the exponential model.
- plot_power
Diagnostic plot for the power model.
- plot_modified_power
Diagnostic plot for the modified power model.
- plot_exponential_original
Plot of the original data with the exponential model fit.
- plot_power_original
Plot of the original data with the power model fit.
- plot_modified_power_original
Plot of the original data with the modified power model fit.
See also
Other Spatial analysis:
AFSD(),
BPL(),
count_subareas(),
count_subareas_random(),
join_count(),
oruns_test(),
oruns_test_boustrophedon(),
oruns_test_byrowcol(),
plot_AFSD()

