polypharm {aplore3}R Documentation

POLYPHARM data

Description

polypharm dataset.

Usage

polypharm

Format

A data.frame with 3500 rows and 14 variables:

id

Subject ID (1 - 500)

polypharmacy

Outcome; taking drugs from more than three different classes (1: No, 2: Yes)

mhv4

Number of outpatient Mental Health Visits (1: none, 2: one to five, 3: six to fourteen, 4: greater than 14)

inptmhv3

Number of inpatient Mental Health Visits (1: none, 2: one, 3: more than one)

year

Year (2002 to 2008)

group

Group (1: Covered Families and Children - CFC, 2: Aged, Blind or Disabled - ABD, 3: Foster Care - FOS)

urban

Location (1: Urban, 2: Rural)

comorbid

Comorbidity (1: No, 2: Yes)

anyprim

Any primary diagnosis (bipolar, depression, etc.) (1: No, 2: Yes)

numprim

Number of primary diagnosis (1: none, 2: one, 3: more than one)

gender

Gender (1: Female, 2: Male)

race

Race (1: White, 2: Black, 3: Other)

ethnic

Ethnic category (1: Non-Hispanic, 2: Hispanic)

age

Age (Years and months, two decimal places)

Source

Hosmer, D.W., Lemeshow, S. and Sturdivant, R.X. (2013) Applied Logistic Regression, 3rd ed., New York: Wiley

Examples

head(polypharm, n = 10)
summary(polypharm)

[Package aplore3 version 0.9 Index]