ggm_compare {GGMnonreg} | R Documentation |
Compare Gaussian Graphical Models
Description
Compare Gaussian Graphical Models
Usage
ggm_compare(Yg1, Yg2, method = "spearman", alpha = 0.05)
Arguments
Yg1 |
The data matrix of dimensions n (observations) by p (nodes) for group one. |
Yg2 |
The data matrix of dimensions n (observations) by p (nodes) for group two. |
method |
Character string. Which type of correlation coefficients
to be computed. Options include |
alpha |
The desired significance level (defaults to |
Value
An object of class ggm_compare
Examples
# data
Yg1 <- na.omit(subset(bfi, gender == 1)[,1:10])
Yg2 <- na.omit(subset(bfi, gender == 2)[,1:10])
# compare relations
fit <- ggm_compare(Yg1, Yg2)
[Package GGMnonreg version 1.0.0 Index]