coffee: Artificial data set on Coffee Consumption, Heart Damage Index...

coffeeR Documentation

Artificial data set on Coffee Consumption, Heart Damage Index and Stress

Description

Artifical data on 20 subjects to illustrate issues of causality with observational data

Usage

data(coffee)

Format

A data frame with 20 observations on the following 5 variables.

Occupation

a factor with levels Grad_Student Professor Student

Coffee

Index of coffee consumption

Stress

Index of stress

Heart

Heart Index: higher indicates a less healthy heart

Stress2

Index of stress that is less reliable than 'Stress'

Examples

data(coffee)
## maybe str(coffee) ; plot(coffee) ...

gmonette/spida2 documentation built on Aug. 20, 2023, 7:21 p.m.