cutoffs: Cut-points

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/cutoffs.R

Description

Calculates cut-points of ordinal variables with respect to the Gaussian copula.

Usage

1

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".

Details

The relationship between jth variable and jth latent variable is expressed through this set of cut-points.

Value

cutoffs

A p by (k + 1) matrix representing the cut-point values under the Gaussian copula, where k defines the number of states in the dataset.

Author(s)

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

References

P. Behrouzi and E. C. Wit. Detecting Epistatic Selection with Partially Observed Genotype Data Using Copula Graphical Models. arXiv, 2016.

See Also

lower.upper and epistasis-package.

Examples

1
2
3
4
5
## Not run: 
D <- episim(p = 100, n = 50, k = 3)
cutoffs(D$data)

## End(Not run)

epistasis documentation built on May 2, 2019, 5:09 a.m.