This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' Transform Model Output for Use with the LDAvis Package | |
#' | |
#' Convert a \pkg{topicmodels} output into the JSON form required by the \pkg{LDAvis} package. | |
#' | |
#' @param model A \code{\link[]{topicmodel}} object. | |
#' @param \ldots Currently ignored. | |
#' @seealso \code{\link[LDAvis]{createJSON}} | |
#' @export | |
#' @examples | |
#' \dontrun{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Example Viridis Plot | |
library(ggplot2) | |
library(viridis) | |
library(season) | |
library(gridExtra) | |
pa<-ggplot(schz, aes(year, month, fill = SczBroad)) + | |
geom_tile(colour="gray20", size=1.5, stat="identity") + | |
scale_fill_viridis(option="A") + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type: Shiny | |
Title: Dynamic UI | |
License: MIT | |
Author: Winston Chang <[email protected]> | |
AuthorUrl: http://www.rstudio.com/ | |
Tags: dynamic-ui renderui uioutput | |
DisplayMode: Showcase | |