Learn R Programming

GGMncv (version 1.0.0)

coef.ggmncv: Regression Coefficients from ggmncv Objects

Description

Regression Coefficients from ggmncv Objects

Usage

# S3 method for ggmncv
coef(object, ...)

Arguments

object

An Object of classs ggmncv

...

Currently ignored

Value

A matrix of regression coefficients

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# data
Y <- GGMncv::ptsd

# correlations
S <- cor(Y)

# fit model
fit <- GGMncv(S, n = nrow(Y))

coefs <- coef(fit)

# }

Run the code above in your browser using DataLab