Say Thanks! Travis build status

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"
      )
    )
  )
)

Installation

You can install the package with remotes from Github, see changes.

# install.packages("remotes")
remotes::install_github("news-r/phrasenets") # github

Example

library(phrasenets)

data(reuters)

reuters %>% 
  phrase_net(text = text) %>% 
  filter_net(c("a", "the")) %>% 
  dplyr::filter(occurences > 5) %>% 
  plot_sigmajs()


news-r/phrasenets documentation built on Nov. 4, 2019, 9:40 p.m.