acc: Compute prediction accuracy for a quantitative or binary...

View source: R/qgg_utility_functions.R

accR Documentation

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)


psoerensen/qgg documentation built on March 9, 2024, 10:02 p.m.