Learn R Programming

qgg (version 1.1.2)

acc: Compute prediction accuracy for a quantitative or binary trait

Description

Compute prediction accuracy for a quantitative or binary trait

Usage

acc(yobs = NULL, ypred = NULL, typeoftrait = "quantitative")

Arguments

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)