The “OfficeParks.csv” file contains data (as you saw in Chapter 1) regarding several aspects of health and behavior of the characters in both The Office (US) and Parks and Recreation television shows. Notably, this is a ficticious data set not supported by NBC.
In the following code chunks, complete each section.
Import the data as op
(for office/parks).
Change the subs
and show
variables into factors.
Select the prod1
, awkw1
, and show
and assign it to a new data set called op2
.
Use the three step summary to get summary information.