Learn R Programming

vlda (version 1.1.5)

Depression_column: Supplementary data to be added to Depression data

Description

Artificially created data to add the degree and sex of depression after 6 weeks.

Usage

data(Depression_column)

Arguments

Format

6week.1

A value of 1 indicates that depression is "Abnormal" after 6 weeks

6week.2

A value of 1 indicates that depression is "Normal" after 6 weeks

sex.1

A value of 1 indicates that the gender is "Male"

sex.2

A value of 1 indicates that the gender is "Female"

Details

As supplementary variables, for 800 patients, response at fourth time point (after 6 weeks) and gender that could affect depression were added to the columns. Indicator matrix of 800 rows and 4 dummy variables.

6weeks.1 6weeks.2 sex.1 sex.2 1
0 1 1 0 2 0
1 1 0 3 0 1
1 0 4 0 1 1
0 5 0 1 1 0
6 0 1 1 0 7
0 1 1 0 8 0
1 1 0 9 0 1
1 0 10 0 1 1
0 . . . . .
. . . . . .
. . . . 796 0
1 0 1 797 0 1
0 1 798 0 1 0
1 799 0 1 0 1
800 0 1 0 1