spc_add_inTrain: add a inTrain column into spc's SI

Description Usage Arguments Value

View source: R/ulits4tidymodels.R

Description

add a inTrain column into spc's SI

Usage

1
spc_add_inTrain(spc, biochemphy, p = 2/3, groups = 7, seed = 324)

Arguments

spc

the speclib obj

biochemphy

the target var

p

for createDataPartion

groups

for createDataPartion

seed

random seed

Value

new speclib lib


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