View source: R/datacggm_S3methods.R
is.datacggm | R Documentation |
‘is.datacggm
’ tests if its argument is an object of class ‘datacggm’.
is.datacggm(x)
x |
object to be tested. |
Luigi Augugliaro (luigi.augugliaro@unipa.it)
Augugliaro L., Sottile G., Wit E.C., and Vinciotti V. (2023) <\Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v105.i01")}>. cglasso: An R Package for Conditional Graphical Lasso Inference with Censored and Missing Values. Journal of Statistical Software 105(1), 1–58.
Augugliaro, L., Sottile, G., and Vinciotti, V. (2020a) <\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s11222-020-09945-7")}>. The conditional censored graphical lasso estimator. Statistics and Computing 30, 1273–1289.
Augugliaro, L., Abbruzzo, A., and Vinciotti, V. (2020b) <\Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/biostatistics/kxy043")}>.
\ell_1
-Penalized censored Gaussian graphical model.
Biostatistics 21, e1–e16.
datacggm
and rcggm
set.seed(123)
n <- 100L
p <- 3L
b0 <- rep(0, p)
Z <- rcggm(n = n, b0 = b0, probl = 0.05, probr = 0.05)
is.datacggm(Z) # TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.