Learn R Programming

carat (version 1.3)

pats: Data of Covariate Profile of Patients

Description

gives the simulated covariate profile of patients for clincal trials.

Usage

data(pats)

Arguments

pats

a dataframe. Each row contains an individual's covariate profile and each column corresponds to a covariate. It contains the following columns

gender

Options are male and female.

employment status

Options are "unemployment" (unemp), "part time" (part.), "full time" (full.).

income

Options are >= 1w, <= 0.5w, 0.5~1w.

marriage status

Options are unmarried, married, divorced