R/qalys.R

Defines functions qalys

Documented in qalys

qalys <- function(scenario, disc=FALSE)
{
  if (disc==FALSE)
  {
    res <- attr(scenario, "utility")
  }else{
    res <- attr(scenario, "utilityD")
  }
  return(c(res, res/attr(scenario, "size")))
}

Try the mSimCC package in your browser

Any scripts or data that you put into this service are public.

mSimCC documentation built on Aug. 22, 2023, 5:07 p.m.