View source: R/qgg_utility_functions.R
acc | R Documentation |
Compute prediction accuracy for a quantitative or binary trait
acc(yobs = NULL, ypred = NULL, typeoftrait = "quantitative")
yobs |
is a vector of observed phenotypes |
ypred |
is a vector of predicted phenotypes |
typeoftrait |
is a character with possible values "binary" or "quantitative" (default) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.