cvd_bayes_net: CVD risk synthetic dataset

Description Usage Format Details Examples

Description

A bayesian network for generating categorical synthetic data for assessing cardiovascular risk. Variable types are as follows:

Usage

1

Format

A Bayesian Network of class CPTgrain using the gRain package for representing the data.

Details

Note that not all covariates (including cardiovascular risk) were generated by the dataset. Further details about how to generate the entire dataset from this network can be found from generate_data_from_network in the vignettes folder.

Examples

1
2
3
4
5
6
library(gRain)
data(cvd_bayes_net)

#generate categorical data for 1000 patients
testData <- simulate(cvd_bayes_net, nsim =1000)
summary(testData)

laderast/cvdRiskData documentation built on May 28, 2019, 7:37 a.m.