lower: Lower and Upper Limits from a "datacggm" Object

Description Usage Arguments Details Author(s) See Also Examples

View source: R/datacggm_tools.R

Description

Functions ‘lower’ and ‘upper’ retrieve the lower and upper censoring values from an object of class “datacggm”.

Usage

1
2
lower(x)
upper(x)

Arguments

x

an object of class ‘datacggm’.

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

datacggm

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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)

cglasso documentation built on April 9, 2021, 9:07 a.m.