lower + upper {cglasso} | R Documentation |
Lower and Upper Limits from a “datacggm” Object
Description
Functions ‘lower
’ and ‘upper
’ retrieve the lower and upper censoring values from an object of class “datacggm”.
Usage
lower(x)
upper(x)
Arguments
x |
an object of class ‘ |
Details
For an R object x
of class ‘datacggm
’, lower
(upper
) retrieves the lower (upper) censoring values of the response variables.
Author(s)
Luigi Augugliaro (luigi.augugliaro@unipa.it)
See Also
Examples
set.seed(123)
n <- 100L
p <- 3L
rho <- 0.3
Sigma <- outer(1L:p, 1L:p, function(i, j) rho^abs(i - j))
Z <- rcggm(n = n, Sigma = Sigma, probr = 0.05)
lower(Z)
upper(Z)
Z <- rcggm(n = n, Sigma = Sigma, probl = 0.05)
lower(Z)
upper(Z)
Z <- rcggm(n = n, Sigma = Sigma, probl = 0.05, probr = 0.05)
lower(Z)
upper(Z)
[Package cglasso version 2.0.7 Index]