FR.sampling: Sampling tools for cross-validation

View source: R/FRsampling.R

FR.samplingR Documentation

Sampling tools for cross-validation

Usage

FR.sampling(df.y, f = 0.2, part.env = 1, intercept = TRUE)

Arguments

df.y

is a data.frame containing the following colunms: environment (factor), genotype (factor), GxE or G+GxE effects (numeric) and covariates (numeric).

f

is a fraction of genotypes that must be used as validation set (default f = 0.2, i.e., 20

\item

part.envis the number of environments that be leave out of the training set (0 > part.env > number of environments). Default is 1 (leave-one-out scheme).

\item

interceptTRUE (default) or FALSE if considering include fixed genotypic intercept

\item

bootis the number of boots (default is equal to 1000)

Sampling tools for cross-validation Germano M F Costa Neto


gcostaneto/frGIS documentation built on Jan. 4, 2024, 1:41 p.m.