Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

drawStatDiagram

draw StatDiagram


Description

draw StatDiagram

Usage

drawStatDiagram(
  no,
  arrows,
  nodes,
  labels,
  nodeslabels = list(),
  xmargin,
  radx,
  rady,
  fit = NULL,
  addprime = TRUE,
  box.col = "white",
  xlim = c(0, 1),
  ylim = c(0, 1)
)

Arguments

no

process macro model number

arrows

A data.frame

nodes

A data.frame

labels

A list

nodeslabels

A list

xmargin

horizontal margin of plot

radx

horizontal radius of the box.

rady

vertical radius of the box.

fit

An object of class lavaan. Result of lavaan::sem()

addprime

logical Whether add prime to label "c"

box.col

fill color of the box

xlim

the x limits (min,max) of the plot

ylim

the y limits (min,max) of the plot


processR

Implementation of the 'PROCESS' Macro

v0.2.6
GPL-2
Authors
Keon-Woong Moon [aut, cre], Sokyoung Hong [ctb]
Initial release
2021-1-5

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.