Learn R Programming

cglasso (version 2.0.2)

is.datacggm: Is an Object of Class ‘datacggm’?

Description

is.datacggm’ tests if its argument is an object of class ‘datacggm’.

Usage

is.datacggm(x)

Arguments

x

object to be tested.

References

Augugliaro, L., Sottile, G., and Vinciotti, V. (2020a) <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) <10.1093/biostatistics/kxy043>. \(\ell_1\)-Penalized censored Gaussian graphical model. Biostatistics 21, e1--e16.

See Also

datacggm and rcggm

Examples

Run this code
# NOT RUN {
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
# }

Run the code above in your browser using DataLab