plot.sgSEMp2: Plotting of Principle 2 of Semi-gSEM

Description Usage Arguments Value Examples

View source: R/plot.sgSEMp2.R

Description

plot.sgSEMp2 plots a structural equation network model diagram based on best functional form for additive pairwise relationships.

Usage

1
2
3
## S3 method for class 'sgSEMp2'
plot(x, ..., cutoff = 0.2, width = NULL, height = NULL,
  filename = NULL, detail = F)

Arguments

x

The returned list from sgSEMp2. Plotting uses the first element of this list (print) in which the first column of it is the response, the second column is variable and other columns are corresponding statistical model, r-squared, adj-r-squared, P-value, P-value rank, p1ff, r2mark, and markrank.

...

Other parameters. Currently not used.

cutoff

A threshold value for the adjusted R-squared. Solid lines represent a relationship with adjusted R-sqr of greater than the cutoff and dotted lines with less than the cutoff. The default is 0.2.

width

A numeric describing the width of the plot output in pixels.

height

A numeric describing the height of the plot output in pixels.

filename

A character string naming a file to save as an html file.

detail

Logic value indicating whether the detailed information about the full model is displayed. Default is False.

Value

An html style plot of the pairwise relationship pathway diagram between stressors and responses. Arrows show relationships between each variable with given statistical relations along the connection lines.

Examples

1
2
3
data(acrylic)
ans <- sgSEMp2(acrylic)
plot(ans, cutoff = 0.2)

gSEM documentation built on May 30, 2017, 2:59 a.m.