| fit_model | R Documentation |
Fit a GEDI statistical or random-forest model
fit_model(
x,
y,
method = c("randomForest", "lm"),
test = c("none", "split", "kfold", "loocv", "bootstrap"),
k = 5L,
test_size = 0.3,
iterations = 100L,
seed = NULL,
...
)
x |
Predictor data frame. |
y |
Response vector or response column name in |
method |
|
test |
Validation method: |
k |
Number of folds. |
test_size |
Fraction held out for split validation. |
iterations |
Bootstrap iterations. |
seed |
Optional random seed. |
... |
Model arguments. |
An object of class gedi_model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.