createDataPartition_2PlotIDdict: inTrain/Test split wrapper -> return list of inTrain/Test...

Description Usage Arguments Value

View source: R/ulits4caret.R

Description

inTrain/Test split wrapper -> return list of inTrain/Test PlotID

Usage

1
createDataPartition_2PlotIDdict(df, yname, p = 0.66, groups = 5)

Arguments

df

the target df

yname

the column name will used for stratification

p

the percentaget used for standalone validation

groups

n groups for stratification

Value

list of vector of PlotID fall in inTrain/Test


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