data(simDat3)
mod <- cslseModel(Y ~ Z | ~ X1 * X2, data = simDat3)
fit <- estSLSE(mod)
## Extract the model from a cslseModel object
as.model(fit)
## Extract the model from a cslse object
cs <- causalSLSE(mod)
as.model(cs)
Run the code above in your browser using DataLab