print.impacts.SEMCMC: Display summary of impacts from fitted with SEMCMC.

Description Usage Arguments Examples

View source: R/print.R

Description

This function will print summary of the impacts (direct, indirect and total) from a SEMCMC object. Output is similar to spdep::impacts

Usage

1
2
## S3 method for class 'impacts.SEMCMC'
print(x, ...)

Arguments

x

A SEMCMC.impacts object.

...

Extra argument to compute the impacts (not used).

Examples

1
2
3
4
5
6
data(columbus, package = "spdep")

W <- spdep::nb2mat(col.gal.nb, style = "W")
m.form <-  CRIME ~ INC + HOVAL
slm.mcmc <- SEMCMC(m.form, data = columbus, W = W, model = "slm")
impacts(slm.mcmc, W)

becarioprecario/SEjags documentation built on March 6, 2021, 5:42 a.m.