Learn R Programming

dlsem (version 2.0)

auto.lagPlot: Automated plot of lag shapes

Description

Plot the lag shape associated to each edge.

Usage

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

Arguments

x

An object of class dlsem.

cumul

Logical. If FALSE (the default), instantaneous coefficients are returned, otherwise cumulative ones are provided.

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

Run this code
# NOT RUN {
data(industry)
mycode <- list(
  Consum~quec(Job,0,5),
  Pollution~quec(Job,1,8)+quec(Consum,1,6)
  )
myfit <- dlsem(mycode,group="Region",exogenous=c("Population","GDP"),data=industry,log=TRUE)
auto.lagPlot(myfit,plotDir=getwd())
# }

Run the code above in your browser using DataLab