pbnorm_dist: Returns distribution of proportional bivariate normal.

View source: R/RcppExports.R

pbnorm_distR Documentation

Returns distribution of proportional bivariate normal.

Description

Returns distribution of proportional bivariate normal.

Usage

pbnorm_dist(mu, sigma, K, log = FALSE)

Arguments

mu

A vector of length 2 containing the mean.

sigma

A 2-by-2 positive definite covariance matrix

K

The ploidy of the individual.

log

A logical. If TRUE, log probabilities are returned.

Value

A matrix. Element (i,j) is the (log) probability of genotype i-1 at locus 1 and j-1 at locus 2.

Author(s)

David Gerard


ldsep documentation built on Oct. 19, 2022, 1:08 a.m.