auto.lagPlot: Automated plot of lag shapes

Description Usage Arguments See Also Examples

View source: R/dlsem.r

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
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())

dlsem documentation built on April 17, 2020, 1:14 a.m.