Learn R Programming

vlda (version 1.1.5)

Depression_row: Supplementary data to be added to Depression data

Description

Artificially generated data to add a placebo effect that affects the degree of depression.

Usage

data(Depression_row)

Arguments

Format

Diagnosis.1

A value of 1 indicates the "Severe" of depression

Diagnosis.2

A value of 1 indicates the "Mild" of depression

Drug.1

A value of 1 indicates that the drug being taken is a <U+201C>New drug<U+201D>

Drug.2

A value of 1 indicates that the drug being taken is a <U+201C>Standard drug<U+201D>

1week.1

A value of 1 indicates that depression is "Abnormal" after 1 week

1week.2

A value of 1 indicates that depression is "Normal" after 1 week

2week.1

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

2week.2

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

4week.1

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

4week.2

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

Details

Supplementary 100 objects are patients who take placebo. Indicator matrix of 100 rows and 10 dummy variables

Diag.1 Diag.2 Drug.1 Drug.2 . . . 2week.2 4week.1 4week.2
1 1 0 0 0 . . . 0 1 0
2 1 0 0 0 0 1 0
3 1 0 0 0 . . . 0 1 0
4 1 0 0 0 0 0 1
5 1 0 0 0 . . . 0 0 1
6 1 0 0 0 0 0 1
7 1 0 0 0 . . . 0 0 1
8 1 0 0 0 0 0 1
9 1 0 0 0 . . . 1 1 0
10 1 0 0 0 1 1 0
. . . . . . . . .
. . . . . . . . .
. . . . . . . . .
96 0 1 0 0 . . . 1 0 1
97 0 1 0 0 1 0 1
98 0 1 0 0 . . . 1 0 1
99 0 1 0 0 1 0 1
100 0 1 0 0 . . . 1 0 1