gsearch | R Documentation |
The data were simulated to look like sample results from a Google search experiment.
gsearch
A data frame with 10000 observations on the following 2 variables.
a factor with levels new search
no new search
a factor with levels current
test 1
test 2
library(ggplot2)
table(gsearch$type, gsearch$outcome)
ggplot(gsearch, aes(x = type, fill = outcome)) +
geom_bar(position = "fill") +
labs(y = "proportion")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.