do_caret_VI: caret::train wrapper to fit biochemphy~index curve

Description Usage Arguments Value

View source: R/ulits4caret.R

Description

caret::train wrapper to fit biochemphy~index curve

Usage

1
do_caret_VI(index, spc, biochemphy, fun_indexCV = get_indexCV)

Arguments

index

the index name for ssdxj_vegindex

spc

the speclib obj

biochemphy

the target variable name in SI

Value

a modified caret::obj. With x(index), y(biochemphy), obs, pred in df_inTrain and df_Test


ssdxj/R418 documentation built on June 7, 2021, 4:14 p.m.