Learn R Programming

BSDA (version 1.01)

Jobsat: Job satisfaction and stress level for 9 school teachers

Description

Data for Exercise 9.60

Usage

Jobsat

Arguments

Format

A data frame with 9 observations on the following 2 variables.

WSPT

a numeric vector

satisfac

a numeric vector

Examples

Run this code
# NOT RUN {
str(Jobsat)
attach(Jobsat)
plot(WSPT,satisfac)
model <- lm(satisfac~WSPT)
abline(model)
summary(model)
detach(Jobsat)
remove(model)
# }

Run the code above in your browser using DataLab