Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed Apr 16, 2020
1 parent 12ee5a1 commit 16ff3fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 06-data-types/02-forcats.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ hotels %>%
group_by(hotel, arrival_date_month) %>% # group by hotel type and arrival month
summarise(mean_adr = mean(adr)) %>% # calculate mean adr for each group
ggplot(aes(
x = arrival_date_month,
y = mean_adr, # y-axis is the mean_adr calculated above
x = arrival_date_month, # x-axis = arrival_date_month
y = mean_adr, # y-axis = mean_adr calculated above
group = hotel, # group lines by hotel type
color = hotel) # and color by hotel type
) +
Expand Down

0 comments on commit 16ff3fa

Please sign in to comment.