Nothing
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(pivotea) library(dplyr) library(ggplot2)
You can use pivot()
to make a pivot table easily.
hogwarts |> pivot(row = "hour", col = "wday", value = c("subject", "teacher", "room"), split = c("house", "grade")) starwars |> pivot(row = "homeworld", col = "species", value = "name", split = "sex") msleep |> pivot(row = "vore", col = "conservation", value = "name") |> na2empty() |> print(n = Inf) as_tibble(Titanic) |> pivot(row = "Age", col = c("Sex", "Survived"), value = "n", split = "Class") diamonds |> pivot(row = "cut", col = "color", value = "price", split = "clarity")
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.