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

coffeeR Documentation

Artifcial 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'

References

Monette, G. (1990), Geometry of Multiple Regression and Interactive 3-D Graphics, In Fox, J. & Long, S. (ed.), Modern Methods of Data Analysis, Sage Publications, 209-256.

Examples

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

gmonette/p3d documentation built on Nov. 16, 2023, 11:31 p.m.