Learn R Programming

BSDA (version 1.01)

Patrol: Years of experience and number of tickets given by patrolpersons in New York City

Description

Data for Example 9.3

Usage

Patrol

Arguments

Format

A data frame with 10 observations on the following 7 variables.

tickets

a numeric vector

years

a numeric vector

ln.tickets.

a numeric vector

SRES1

a numeric vector

FITS1

a numeric vector

SRES2

a numeric vector

FITS2

a numeric vector

Examples

Run this code
# NOT RUN {
str(Patrol)
attach(Patrol)
model <- lm(tickets~years)
summary(model)
detach(Patrol)
remove(model)
# }

Run the code above in your browser using DataLab