R/shiny-server-params.R

Defines functions retrieve_params

# © 2019 JAMSTEC
retrieve_params <- function(x, xmap) {
  shiny::req(x)
  y <- attr(x, "params", exact = TRUE)
  y$beta <- y$beta *
    attr(xmap, "dwell") * 1e-3 *
    attr(xmap, "current") * 1e+6
  y
}
atusy/qntmap documentation built on April 11, 2021, 4:45 p.m.