innerplot: Plot inner model

Description Usage Arguments Note

View source: R/plot_functions.R

Description

Plot the inner (structural) model fora path matrix. Adapted from plspm package by Gaston Sanchez.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
innerplot(
  x,
  colpos = "#6890c4BB",
  colneg = "#f9675dBB",
  box.prop = 0.55,
  box.size = 0.08,
  box.cex = 1,
  box.col = "gray95",
  lcol = "gray95",
  box.lwd = 2,
  txt.col = "gray50",
  shadow.size = 0,
  curve = 0,
  lwd = 3,
  arr.pos = 0.5,
  arr.width = 0.2,
  arr.lwd = 3,
  cex.txt = 0.9,
  show.values = FALSE,
  ...
)

Arguments

x

Either a matrix defining an inner model or an object of class "plspm".

colpos

Color of arrows for positive path coefficients.

colneg

Color of arrows for negative path coefficients.

box.prop

Length/width ratio of ellipses.

box.size

Size of ellipses.

box.cex

Relative size of text in ellipses.

box.col

fill color of ellipses,

lcol

border color of ellipses.

box.lwd

line width of the box.

txt.col

color of text in ellipses.

shadow.size

Relative size of shadow of label box.

curve

arrow curvature.

lwd

line width of arrow.

arr.pos

Relative position of arrowheads on arrows.

arr.width

arrow width.

arr.lwd

line width of arrow, connecting two different points, (one value, or a matrix with same dimensions as x).

cex.txt

Relative size of text on arrows.

show.values

should values be shown when x is a matrix.

...

Further arguments passed on to plotmat.

Note

innerplot uses the function plotmat in package diagram.
http://cran.r-project.org/web/packages/diagram/vignettes/diagram.pdf


GeertPostma/pathmodelr documentation built on Oct. 5, 2021, 4:17 p.m.