Learn R Programming

CausalQueries (version 1.1.0)

make_parmap: Make parmap: a matrix mapping from parameters to data types

Description

Generates a matrix with a row per parameter and a column per data type.

Usage

make_parmap(model, A = NULL, P = NULL)

Value

A matrix

Arguments

model

A causal_model. A model object generated by make_model.

A

A data.frame. Ambiguity matrix. Not required but may be provided to avoid repeated computation for simulations.

P

A data.frame. Parameter matrix. Not required but may be provided to avoid repeated computation for simulations.