1. Learn
  2. /
  3. Courses
  4. /
  5. Bayesian Modeling with RJAGS

Exercise

RailTrail sample data

The RailTrail data frame from the mosaic package is loaded in your workspace. RailTrail contains data collected by the Pioneer Valley Planning Commission on the usage of a local rail-trail. For each of 90 days, they recorded the rail-trail volume (number of users) and whether it was a weekday (TRUE if yes and FALSE otherwise). You will explore the trends in weekday vs weekend volume below.

Instructions

100 XP
  • Confirm that weekday is recorded as a factor variable.
  • Construct density plots of weekday volume and weekend volume on the same frame.