Learn R Programming

MPV (version 1.64)

table5.2: Table 5.2

Description

The table5.2 data frame has 53 observations on energy usage (KWH) and corresponding demand (KW) at a sample of residences. This is the Electric Utility Data of Example 5.1.

Usage

data(table5.2)

Arguments

Format

This data frame contains the following columns:

Customer

a numeric vector of customer IDs

x

a numeric vector of energy usage values

y

a numeric vector of demand values

Examples

Run this code
plot(y ~ x, xlab = "Usage", ylab = "Demand", data = table5.2)
anova(lm(y ~ x, data = table5.2)) # Note the typo in Table 5.3 for SS Regression

Run the code above in your browser using DataLab