aba_plot {lidaRtRee} | R Documentation |
Plots observed VS values predicted in leave one out cross validation of an
aba_build_model
Description
Plots observed VS values predicted in leave one out cross validation of an
aba_build_model
Usage
aba_plot(aba_model, disp_text = F, col = NULL, add_legend = NULL, ...)
Arguments
aba_model |
list. as returned by |
disp_text |
boolean. indicates if points should be labeled with id |
col |
color to be passed to |
add_legend |
list. parameters to be passed to |
... |
other parameters to be passed to |
Value
nothing
Examples
# load Quatre Montagnes dataset
data(quatre_montagnes)
# build ABA model for basal area, with all metrics as predictors
model_aba <- aba_build_model(quatre_montagnes$G_m2_ha, quatre_montagnes[, 9:76],
transform = "boxcox", nmax = 3
)
# plot field values VS predictions in cross-validation
aba_plot(model_aba, main = "Basal area")
[Package lidaRtRee version 4.0.5 Index]