Learn R Programming

RplotterPkg (version 0.1.3)

sleep: sleep data

Description

A dataframe with 20 observations that shows effect of two soporific drugs (increase in hours of sleep compared to control) on 10 patients.

Hoursextra numeric increase in hours of sleep
Drugfactor with 2 levels of drug groups (1,2)
IDfactor with 10 levels of patient ID (1 to 10)
Observationnumeric observation id (1 to 20)

Usage

sleep

Arguments

Format

An object of class data.table (inherits from data.frame) with 20 rows and 4 columns.