as.graphNEL {dlsem} | R Documentation |
Conversion into the graphNEL
class
Description
An object of class dlsem
is converted into an object of class graphNEL
.
Usage
as.graphNEL(x, conf = 0.95, use.ns = FALSE)
Arguments
x |
An object of class |
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 |
Value
An object of class graphNEL
.
See Also
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)
[Package dlsem version 2.4.6 Index]