Messy clinical trial data

Share:

Description

Messy clinical trial data

Usage

1

Format

A data frame with 33 observations on the following 7 variables. This data has been designed to show reshaping/tidying of data.

Subject

A numeric vector giving the subject ID

Placebo.1

A numeric vector giving the subjects observed value on treatment Placebo at time 1

Placebo.2

A numeric vector giving the subjects observed value on treatment Placebo at time 2

Drug1.1

A numeric vector giving the subjects observed value on treatment Drug1 at time 1

Drug1.2

A numeric vector giving the subjects observed value on treatment Drug1 at time 2

Drug2.1

A numeric vector giving the subjects observed value on treatment Drug2 at time 1

Drug2.2

A numeric vector giving the subjects observed value on treatment Drug2 at time 2

Source

Simulated data