Skip to content

Instantly share code, notes, and snippets.

@senthilthyagarajan
senthilthyagarajan / app.R
Created April 18, 2019 17:18
Edit DT with modules
### Libraries
library(shiny)
library(dplyr)
library(DT)
### Data
input_data <- data.frame(Brand = c("Brand1", "Brand2","Brand3"),
ratio = c (.5, .5, .5),
cost = c(2000, 3000, 4000),
stringsAsFactors = FALSE) %>%