is_improper: Check whether a model is improper

View source: R/helpers.R

is_improperR Documentation

Check whether a model is improper

Description

Compute the sum of causal types probabilities. A model is flagged as improper if the sum is different than one.

Usage

is_improper(model)

Arguments

model

A causal_model. A model object generated by make_model.

Value

A logical expression indicating whether a model is improper


CausalQueries documentation built on Oct. 20, 2023, 1:06 a.m.