Learn R Programming

parmsurvfit (version 0.1.0)

firstdrink: Data on age at first drink of alcohol.

Description

Data on age at first drink of alcohol.

Usage

firstdrink

Arguments

Format

A data frame with 1000 rows and 3 variables:

age

the age at which the survey respondent had their first drink of alcohol

censor

censoring status indicator variable (0 = censored event time, 1 = complete event time)

gender

a dichotomous variable identifying gender (1 = male, 2 = female)