Learn R Programming

CME.assistant (version 1.1.4)

get.cqt.from.aggfinal: Get cqt file from final aggregated results for plotting, based on the long-formatted final results

Description

Get cqt file from final aggregated results for plotting, based on the long-formatted final results

Usage

get.cqt.from.aggfinal(
  dt_long,
  output_dir,
  mcmc.meta_filename = "mcmc.meta.rda"
)

Arguments

dt_long

final results in long format

output_dir

where to find the "mcmc.meta.rda"

mcmc.meta_filename

default to "mcmc.meta.rda"

Value

res.cqt.Lw.new

Examples

Run this code
# NOT RUN {
dt_u5 <- get.CME.UI.data(dir_file = final_dir_list$dir_total_2020)
dt_u5 <- dt_u5[Indicator == "U5MR"]
output_dir <- file.path(get.IGMEoutput.dir(2019), "GR20200214_all")
res.cqt.Lw.new <- get.cqt.from.aggfinal(dt_u5, output_dir)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab