bn.results.samples: Calculate Results

Description Usage Arguments Value Examples

View source: R/bayesian.R

Description

This function calculates for each exposure the mean outcome on a sample and was implemented to deliver fast results. Nevertheless, the function should not used extensively for giving results as they are not reproducable.

Usage

1
bn.results.samples(fitted.model, dag, exposure_levels, verbose = TRUE)

Arguments

fitted.model

bn.fitted model

dag

result from bn.prep.dag

exposure_levels

levels to test exposure for

verbose

Identify if the function should print the results.

Value

data frame

Examples

1
bn.results.samples(fitted.bn, bn.dag, exposure_levels, FALSE)

thogaertner/cinof1 documentation built on Jan. 8, 2022, 10:37 a.m.