Automated plot of lag shapes
All the single-edge pathwise causal lag shapes are saved as pdf files.
auto.lagPlot(x, cumul = FALSE, conf = 0.95, plotDir = NULL)
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.dlsem ; lagPlot .
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())
Useful links