Learn R Programming

s20x (version 3.3.0)

zoo.df: Zoo Attendance during an Advertising Campaign

Description

Data for 455 days of attendance records for Auckland Zoo, from January 1, 1993. Note that only 440 values are given due to missing values. It was of interest to assess whether an advertising campaign was effective in increasing attendance.

Arguments

Format

A data frame with 440 observations on 6 variables.

attendance

Numeric Number of visitors.

time

Numeric Time in days since the start of the study.

sun.yesterday

Numeric Hours of sunshine the previous day.

tv.ads

Numeric Average spending on TV advertising in the previous week (1000s of dollars per day)

nice.day

Factor Assessment based on number of hours of sunshine (0 = No, 1 = Yes)

day.type

Factor Type of day (1 = ordinary weekday, 2 = weekend day, 3 = school holiday weekday, 4 = public holiday)