knitr::opts_chunk$set( warning = FALSE, collapse = TRUE, comment = "#>" ) library(htmltools)
br() br() div( class = "row", div( class = "col-md-4", img( src = "logo.png", class = "img-responsive responsive-img" ) ), div( class = "col-md-8", p( "Create simple but interpretable phrase networks." ), p( tags$a( tags$i(class = "fa fa-rocket"), class = "btn btn-primary", href = "articles/get_started.html", style = "margin-bottom: 5px;", "Get Started" ) ) ) )
You can install the package with remotes
from Github, see changes.
# install.packages("remotes") remotes::install_github("news-r/phrasenets") # github
library(phrasenets) data(reuters) reuters %>% phrase_net(text = text) %>% filter_net(c("a", "the")) %>% dplyr::filter(occurences > 5) %>% plot_sigmajs()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.