plotMarkovs: plotMarkovs

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/images_oo.R

Description

This function takes the object returned by an IMaGES run and plots the global structure with its SEM (structural equation modeling) data, as well as the SEM data for each Markov Equivalence Class (MEC) and their respective structures. The function determines the dimensions that most closely represent a square and plots the graphs in that fashion.

Usage

1
2
3
4
## Load predefined data
data(IMData)

plotMarkovs(im.fits)

Arguments

im.fits

Object returned by IMaGES run

Value

plot

Prints plot to the screen

Author(s)

Noah Frazier-Logue (n.frazier.logue@nyu.edu)

Stephen Jose Hanson (jose@rubic.rutgers.edu)

References

J.D. Ramsey, S.J. Hanson, et al. (2010) Six problems for causal inference from fMRI. NeuroImage 49, 1545-1558.

See Also

plotIMGraph, plotAll, IMaGES

Examples

1
2
3
4
5
6
7
8
## Load predefined data
data(IMData)

#run IMaGES
im.fits <- IMaGES(matrices=IMData, penalty=3, num.markovs=5)

#plot global graph and all individual graphs with own SEM data
plotMarkovs(im.fits)

IMaGES documentation built on July 1, 2020, 10:16 p.m.