Learn R Programming

BSDA (version 1.01)

Apolipop: Level of apolipoprotein B and number of cups of coffee consumed per day for 15 adult males

Description

Data used in Examples 9.2 and 9.9

Usage

Apolipop

Arguments

Format

A data frame with 15 observations on the following 4 variables.

coffee

a numeric vector

apolipB

a numeric vector

SRES1

a numeric vector

FITS1

a numeric vector

Examples

Run this code
# NOT RUN {
attach(Apolipop)
str(Apolipop)
plot(coffee,apolipB)
linmod <- lm(apolipB~coffee)
summary(linmod)
# plot(linmod)
detach(Apolipop)
# }

Run the code above in your browser using DataLab