assign.matrix {assignPOP} | R Documentation |
Make an assignment maxtrix from cross-validation results
Description
This function generates a pairwise assignment matrix with mean and variation of assignment accuracies estimated across all assignment tests.
Usage
assign.matrix(
dir = NULL,
train.loci = "all",
train.inds = "all",
k.fold = "all"
)
Arguments
dir |
A character string to specify the folder that has your cross-validation assignment results. |
train.loci |
Choose your proportions of training loci used in Monte-Carlo or K-fold cross-validation. Default is "all". |
train.inds |
Choose your numbers or proportions of training individuals used in Monte-Carlo cross-validation. Default is "all". |
k.fold |
Choose the k fold values used in K-fold cross-validation. Default is "all". |
Value
The function returns a matrix in R console as well as a file named "assignment_matrix.txt" in the folder.
[Package assignPOP version 1.3.0 Index]