moretreesExampleData: Simulated multi-outcome matched case-control data.

Description Usage Format

Description

Simulated data for testing the moretrees() function. Used in the package vignette. The dataset contains 1000 matched case-control pairs. The outcomes are cardiovascular diseases in category 7.4 (diseases of arteries, arterioles, and capillaries) in the multilevel Clinical Classifications Software (CCS) hierarchical disease classification system.

Usage

1

Format

A named list with the following elements:

Xcase

A matrix with 1000 rows and 2 columns. Xcase[i, ] represents exposure data for the case in matched-pair i.

Xcontrol

A matrix with 1000 rows and 2 columns. Xcontrol[i, ] represents exposure data for the control in matched-pair i.

Wcase

A matrix with 1000 rows and 2 columns. Wcase[i, ] represents covariate data for the case in matched-pair i.

Wcontrol

A matrix with 1000 rows and 2 columns. Wcontrol[i, ] represents covariate data for the control in matched-pair i.

outcomes

A character vector of length 1000. outcomes[i] indicates which outcome was experienced by the case in matched pair i. The entries are CCS codes belonging to category 7.4.


emgthomas/moretrees_pkg documentation built on June 20, 2020, 6:13 p.m.