plotCVThesisData: Plot a CV scheme for the data used in the thesis

Description Usage Arguments Value Author(s) Examples

Description

Plot a CV scheme for the data used in the thesis

Usage

1
plotCVThesisData(data, scheme, title = "CV scheme")

Arguments

data

a data frame with at least the following information:

GERMPLASM:

Name of then entries.

LOCATION:

Name of the geographic locations of the multi-field trial.

ROW:

Name of then rows

RANGE:

Name of then ranges

scheme

data frame output from the crossValidate function which was based on a user decided sampling strategy to use in the cross-validation.

title

character defining the title of the plot

Value

plot based on the ggplot package which shows the splitting of the training and validation sets for the first replication. Further, the plot is split by the levels of the chosen factor, which is generally the location.

Author(s)

Ruud Derijcker

Examples

1
2
3
4
5
data(P)
scheme1 <- crossValidate(x=P, id="GERMPLASM", factor="LOCATION",
                        k=5, replication=3, seed=NULL, exclusive=TRUE,
                        sampling="incompleteTrial",verbose=TRUE)
plotCVThesisData(P, scheme1, "CV scheme 'incompleteTrial' on thesis data set")

digiYozhik/msc_thesis documentation built on May 14, 2019, 5:16 p.m.