R/process.plot.R

Defines functions process.plot

Documented in process.plot

#' 设置process.plot的处理函数
#'
#' @param input input
#' @param output output
#' @param session session
#' @param plot_obj  plot obj expression
#'
#' @return return value
#' @export
#'
#' @examples process.plot();
process.plot <- function(input,output,session,plot_obj=quote( hist(faithful[, 2] , breaks = 30, col = 'darkgray', border = 'white'))) {
  output$plotOutput1 <-renderPlot({
    plot_obj
  },quoted = TRUE)

}
takewiki/tsShiny documentation built on Aug. 16, 2019, 3:23 a.m.