Session Ready
Exercise

Plotting A/A data

Before running our experiment, let's say we ran an A/A experiment first to be sure our "random" assignment of visitors really was random. Remember, a significant effect in an A/A experiment can mean our two groups of participants actually are different in some way. For this experiment, we're going to look at clicking 'like' conversion. We'll start by summarizing and plotting our data.

All packages and the data are pre-loaded for you. The data is in the data frame viz_website_2018_01.

Instructions
100 XP
  • Create a new data frame called viz_website_2018_01_sum by grouping by the condition column. (Note we're not grouping by visit_date since this data was all collected in a single month.)
  • Set the x value in our plot to the same variable we grouped by.
  • To make a bar plot, use geom_bar(). Here use stat = "identity" so it plots our computed values, rather than make bars of counts.