Learn R Programming

MLGL (version 1.0.0)

print.MLGL: Print Values

Description

Print a MLGL object

Usage

# S3 method for MLGL
print(x, ...)

Arguments

x

MLGL object

...

Not used.

See Also

MLGL summary.MLGL

Examples

Run this code
set.seed(42)
# Simulate gaussian data with block-diagonal variance matrix containing 12 blocks of size 5
X <- simuBlockGaussian(50, 12, 5, 0.7)
# Generate a response variable
y <- X[, c(2, 7, 12)] %*% c(2, 2, -2) + rnorm(50, 0, 0.5)
# Apply MLGL method
res <- MLGL(X, y)
print(res)

Run the code above in your browser using DataLab