pmacroModel: draw conceptual diagram of process macro model

View source: R/pmacroModel.R

pmacroModelR Documentation

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 documentation built on Jan. 23, 2023, 5:44 p.m.