createCV: Quickly create cross-validation folds

Description Usage Arguments Value Examples

Description

Quickly create cross-validation folds

Usage

1

Arguments

formula

formula of the trait name

data

dataframe contain the phenotypes

k

number of folds

Value

data.frame of the all traits including the cross-validation folds

Examples

1
2
3
4
5
## Not run: 
set.seed(1234)
PigPheno=createCV(data = PigPheno,k=5,"driploss")

## End(Not run)

chenchunyu88/BATools documentation built on May 19, 2019, 8:21 a.m.