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

pmacroModel

draw conceptual diagram of process macro model


Description

draw conceptual diagram of process macro model

Usage

pmacroModel(
  no = 1,
  labels = list(),
  covar = list(),
  radx = 0.06,
  rady = 0.06,
  xmargin = 0.03,
  box.col = "white",
  xlim = NULL,
  ylim = NULL
)

Arguments

no

process macro model number

labels

A character list

covar

A optional list of covariates

radx

horizontal radius of the box.

rady

vertical radius of the box.

xmargin

horizontal margin of plot

box.col

fill color of box

xlim

the x limits (min,max) of the plot

ylim

the y limits (min,max) of the plot

Examples

pmacroModel(1)
covar=list(name=c("C1","C2"),label=c("ese","sex","tenure"),site=list("Y","Y"))
pmacroModel(1,covar=covar)
covar=list(name=c("C1","C2","C3"),label=c("ese","sex","tenure"),site=list("M",c("Mi","Y"),c("Y")))
pmacroModel(4,covar=covar)

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.