pt_world: Function to generate a world (values for V) from a structural...

Description Usage Arguments Value Examples

Description

Function to generate a world (values for V) from a structural model

Usage

1
pt_world(model, U = NULL, do = NULL)

Arguments

model

a model made using pt_model.

U

a context. A realization of the exogenous variables in the structural model. Generally generated using model$P().

do

an optional list of do operations on nodes. An intervention.

Value

a world.

Examples

1
2
3
M <- pt_model()
pt_world(M)
pt_world(M, U = runif(5))

macartan/biqq documentation built on May 6, 2019, 6:03 p.m.