inst/material/exercise1.R

## The "#" is a comment and ignored by R
## Example code

movies %>%
  summarise(mean_rating = mean(rating), 
            med_rating = median(rating))

## Now your turn - calculate:
### the mean movie length
### the median movie length 
## Alter this code
movies %>%
  summarise(mean_rating = mean(rating), 
            med_rating = median(rating))
jr-packages/jrWhyR documentation built on Dec. 9, 2020, 12:40 p.m.