Nothing
## -----------------------------------------------------------------------------
library(dplyr)
library(gapminder)
gapminder
## -----------------------------------------------------------------------------
library(widyr)
gapminder %>%
pairwise_dist(country, year, lifeExp)
## -----------------------------------------------------------------------------
gapminder %>%
pairwise_dist(country, year, lifeExp) %>%
arrange(distance)
## -----------------------------------------------------------------------------
gapminder %>%
pairwise_dist(country, year, lifeExp, upper = FALSE) %>%
arrange(distance)
## -----------------------------------------------------------------------------
gapminder %>%
pairwise_cor(country, year, lifeExp, upper = FALSE, sort = TRUE)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.