lower.upper: Calculates lower band and upper band

View source: R/lower.upper.R

lower.upperR Documentation

Calculates lower band and upper band

Description

Calculates lower and upper bands for each data point, using a set of cut-points which is obtained from the Gaussian copula.

Usage

lower.upper(y)

Arguments

y

An (n \times p) matrix or a data.frame corresponding to the data matrix (n is the sample size and p is the number of variables). It also could be an object of class "episim".

Value

lower

A n by p matrix representing the lower band for each data point.

upper

A n by p matrix representing the upper band for each data point.

Author(s)

Pariya Behrouzi and Ernst C. Wit
Maintainer: Pariya Behrouzi <pariya.behrouzi@gmail.com>

References

Behrouzi, P., and Wit, E. C. (2019). Detecting epistatic selection with partially observed genotype data by using copula graphical models. Journal of the Royal Statistical Society: Series C (Applied Statistics), 68(1), 141-160.

See Also

cutoffs and netgwas-package.

Examples

D <- simgeno(p = 100, n = 50, k = 3)
lower.upper(D$data)

netgwas documentation built on Aug. 7, 2023, 5:10 p.m.