View source: R/datacggm_tools.R
lower + upper | R Documentation |
Functions ‘lower
’ and ‘upper
’ retrieve the lower and upper censoring values from an object of class “datacggm”.
lower(x) upper(x)
x |
an object of class ‘ |
For an R object x
of class ‘datacggm
’, lower
(upper
) retrieves the lower (upper) censoring values of the response variables.
Luigi Augugliaro (luigi.augugliaro@unipa.it)
datacggm
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.