as.graphNEL: Conversion into the 'graphNEL' class

Description Usage Arguments Value See Also Examples

View source: R/dlsem.r

Description

An object of class dlsem is converted into an object of class graphNEL.

Usage

1
as.graphNEL(x, conf = 0.95, use.ns = FALSE)

Arguments

x

An object of class dlsem.

conf

The confidence level for each edge: only edges with statistically significant causal effect at such confidence are considered. Default is 0.95.

use.ns

A logical value indicating whether edges without statistically significant causal effect (at level conf) should be considered or not. If FALSE (the default), they will be ignored.

Value

An object of class graphNEL.

See Also

dlsem.

Examples

1
2
3
4
5
6
7
8
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)
as.graphNEL(indus.mod)

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