Description Usage Arguments Value Author(s) Examples
Plot a CV scheme for the data used in the thesis
1 | plotCVThesisData(data, scheme, title = "CV scheme")
|
data |
a data frame with at least the following information:
|
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 |
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.
Ruud Derijcker
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.