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

Description Usage Format Examples

Description

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

Usage

1

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

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

gmonette/yscs documentation built on May 17, 2019, 7:28 a.m.