R/saveData.R

Defines functions saveData

Documented in saveData

#' saveData
#'
#' @description used in shiny app
#'
#' @param data
#'
#' @return
#' @export
#'
saveData <- function(data) {
library(Cairo)
library(ggplot2)
library(shiny)
library(shinythemes)
library(viridis)
  data <- as.data.frame(t(data))
  if (exists("responses")) {
    responses <<- rbind(responses, data)
  } else {
    responses <<- data
  }
}
sportiellomike/fluximplied2 documentation built on Jan. 30, 2024, 12:47 p.m.