data_sim: dataset for CPMCGLM package.

Description Usage Format Examples

Description

This simulated dataset contains 100 subjects and 8 variables.

Usage

1

Format

A data frame with 100 observations on the following 8 variables.

Height

a numeric vector

Weight

a numeric vector

Age

a numeric vector

Smoke

a binary vector

Sport

a numeric vector

Desease

a numeric vector

Parameter

a binary vector

Stroke

a categorical vector

Examples

1
2

Example output

Loading required package: mvtnorm
Loading required package: plyr
    Height   Weight      Age Smoke Sport Desease Parameter Stroke
1 84.20492 85.99395 17.01478     1     1       0         0      1
2 67.29954 74.05476 25.36453     1     0       0         0      2
3 73.02819 84.40509 30.57930     0     0       1         1      0
4 71.61047 67.76674 18.06356     1     1       0         1      2
5 61.47033 62.76764 22.90619     0     1       0         0      1
6 64.53041 66.25963 21.21588     0     0       0         1      0

CPMCGLM documentation built on Dec. 6, 2017, 5:04 p.m.

Related to data_sim in CPMCGLM...