clean_param_vector: Clean parameter vector

View source: R/clean_params.R

clean_param_vectorR Documentation

Clean parameter vector

Description

Clean parameter vector

Usage

clean_param_vector(model, parameters)

Arguments

model

A causal_model. A model object generated by make_model.

parameters

A vector of real numbers in [0,1]. Values of parameters to specify (optional). By default, parameters is drawn from model$parameters_df.

Value

A vector of named parameters summing to 1.


CausalQueries documentation built on June 22, 2024, 6:50 p.m.