Learn R Programming

faraway (version 1.0.7)

drugpsy: Choice of drug treatment for psychiatry patients

Description

A sample of psychiatry patients were cross-classified by their diagnosis and whether a drug treatment was prescribed.

Usage

data(drugpsy)

Arguments

Format

A data frame with 10 observations on the following 3 variables.

y

the number of patients

diagnosis

a factor with levels Affective.Disorder Neurosis Personality.Disorder Schizophrenia Special.Symptoms

drug

a factor with levels no yes

References

Agresti A. (1990) "Categorical Data Analysis" Wiley