Nested categories are represented in a graph structure, and thus we need convenient tools for creation and manipulation of the graphs that will represent the nested categories. One strong possibility is the tidygraph package by Thomas Lin Pedersen, which builds on top of igraph and tidyverse approaches.
knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(tidyverse) library(tidygraph) library(nestedcats) gr <- tribble( ~from, ~to, )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.