pt_worlds: Function to generate a dataset of possible worlds from a...

Description Usage Arguments Value Examples

Description

Function to generate a dataset of possible worlds from a structural model with V provided

Usage

1
pt_worlds(model, N = NULL, do = NULL, U = NULL)

Arguments

model

a model made using pt_model.

N

Number of simulations

do

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

U

a sim*n_nodes dataframe .

Value

a dataframe with worlds

Examples

1
2
3
4
5
M <- pt_model()
pt_worlds(M, N = 4)
pt_worlds(M, N = 4)
U = data.frame(matrix(runif(10), 2, 5))
pt_worlds(M, U = U)

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