auto.lagPlot {dlsem}R Documentation

Automated plot of lag shapes

Description

All the single-edge pathwise causal lag shapes are saved as pdf files.

Usage

auto.lagPlot(x, cumul = FALSE, conf = 0.95, plotDir = NULL)

Arguments

x

An object of class dlsem.

cumul

Logical. If TRUE, cumulative causal effects are displayed. Default is FALSE.

conf

The confidence level for each plot. Default is 0.95.

plotDir

The directory where to save the plots. If NULL (the default), plots will be saved in the current working directory.

See Also

dlsem; lagPlot.

Examples

data(industry)
indus.code <- list(
  Consum~ecq(Job,0,5),
  Pollution~ecq(Job,1,8)+ecq(Consum,1,7)
  )
indus.mod <- dlsem(indus.code,group="Region",exogenous=c("Population","GDP"),data=industry,
  log=TRUE)
## NOT RUN:
# auto.lagPlot(indus.mod,plotDir=getwd())

[Package dlsem version 2.4.6 Index]