Learn R Programming

wlsd (version 1.0.1)

wide_data: Wide Format Data Example

Description

A toy data set in wide format.

Usage

wide_data

Arguments

Format

A data frame with 3 rows on the following 14 variables.

id

An identification variable

time1

First time observation column

time2

Second time observation column

time3

Third time observation column

time4

Fourth observation column

event1

Status indicator at first time

event2

Status indicator at second time

event3

Status indicator at third time

event4

Status indicator at fourth time

var11

First explanatory variable at first time

var12

First explanatory variable at second time

var13

First explanatory variable at third time

var14

First explanatory variable at fourth time

var2

Second explanatory variable

Examples

Run this code
wide_data

Run the code above in your browser using DataLab