Skip to contents

Simulated benefit-risk correlation data for correlogram visualization

Usage

corr2

Format

A data frame with 100 rows and 6 columns:

Benefit 1

Continuous variable representing first benefit measure

Benefit 2

Continuous variable representing second benefit measure, correlated with Benefit 1 (r = 0.6)

Benefit 3

Continuous variable representing third benefit measure

Risk 1

Continuous variable representing first risk measure, correlated with all three benefits (r = 0.3, 0.2, -0.5)

Risk 2

Continuous variable representing second risk measure, correlated with benefits and Risk 1

Risk 3

Continuous variable representing third risk measure, correlated with all previous variables

Details

This dataset contains simulated data with all continuous variables and controlled correlation structures. The data is generated using the faux package to create specific correlations between benefit and risk outcomes, demonstrating both positive and negative relationships suitable for correlogram analysis.