inst/examples/rhandsontable_portfolio/ui.R

library(rhandsontable)
library(dygraphs)

shinyUI(fluidPage(
  titlePanel("130/30 Portfolio Returns"),
  fluidRow(
    column(12,
           helpText("Change the position type and weights to recalculate the ",
                    "return stream."))
  ),
  fluidRow(
    column(4,
           rHandsontableOutput("hot"),
           checkboxInput("reweight", "Reweight?")
    ),
    column(6,
           dygraphOutput("plot")
    )
  )
))
jrowen/rhandsontable documentation built on Dec. 11, 2021, 12:44 p.m.