Learn R Programming

BeQut (version 0.1.0)

dataLong: dataLong

Description

'dataLong' is a dataset simulated from a joint model for longitudinal and time-to-event data. This dataset is used to illustrate both 'lqmm' and 'qrjm' functions.

Usage

data(dataLong)

Arguments

Format

A data.frame with 1562 observations from 300 subjects. The columns are:

ID

integer: number for patient identification.

visit

numeric: measurement times for the repeated blood pressure measurements.

y

numeric: longitudinal measurements.

time

numeric: time to event (or censoring).

event

integer: event indicator. Coded as 0 = right-censoring, and 1 = event.

X1

integer: time-independent binary explanatory variable.

X2

numeric: time-independent continuous explanatory variable.

Examples

Run this code
data(dataLong)

Run the code above in your browser using DataLab