Last chance! 50% off unlimited learning
Sale ends in
Functions ‘lower
’ and ‘upper
’ retrieve the lower and upper censoring values from an object of class “datacggm”.
lower(x)
upper(x)
an object of class ‘datacggm
’.
For an R object x
of class ‘datacggm
’, lower
(upper
) retrieves the lower (upper) censoring values of the response variables.
# NOT RUN {
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)
# }
Run the code above in your browser using DataLab