Learn R Programming

BSDA (version 1.2.0)

Randd: Research and development expenditures and sales of a large company

Description

Data for Exercise 9.36 and Example 9.8

Usage

Randd

Arguments

Format

A data frame/tibble with 12 observations on two variables

rd

research and development expenditures (in million dollars)

sales

sales (in million dollars)

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code
# NOT RUN {
plot(sales ~ rd, data = Randd)
model <- lm(sales ~ rd, data = Randd)
abline(model, col = "purple")
summary(model)
plot(model, which = 1)
rm(model)

# }

Run the code above in your browser using DataLab