plotPcorSimulator: Partial correlation matrix simulator plot

Description Usage Arguments Author(s) See Also Examples

Description

graphical representation of the non-zero partial correlation matrix structure

Usage

1
2
## S3 method for class 'pcorSim'
plot(x, vertex.size = 3, vertex.label = NA, hubsCol = TRUE, ...)

Arguments

x

object of class pcorSim.

vertex.size

plot.igraph parameter: vertex sizes.

vertex.label

plot.igraph parameter: vertex label.

hubsCol

if TRUE hub nodes are highlighted in a different color.

...

arguments passed to or from other methods to the low level.

Author(s)

Caballe, Adria <a.caballe@sms.ed.ac.uk>, Natalia Bochkina and Claus Mayer.

See Also

pcorSimulator for partial correlation matrix generation.
pcorSimulatorJoint for joint partial correlation matrix generation.

Examples

1
2
3
4
5
6
7
8
EX1 <- pcorSimulator(nobs = 50, nclusters = 3, nnodesxcluster = c(100,30,50), 
                     pattern="powerLaw", plus = 0)
plot(EX1)
                
EX2 <- pcorSimulator(nobs = 25, nclusters = 2, nnodesxcluster = c(60,40), 
                     pattern = "powerLaw", plus = 1)
plot(EX2)
 

ldstatsHD documentation built on Aug. 14, 2017, 5:06 p.m.