as.graphNEL function

Conversion into the graphNEL class

Conversion into the graphNEL class

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

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.

Returns

An object of class graphNEL.

See Also

dlsem .

Examples

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)
  • Maintainer: Alessandro Magrini
  • License: GPL-2
  • Last published: 2020-04-16

Useful links