R/reportTc.R

Defines functions reportTc

#' @title reportTc
#' @description reports Tc
#' 
#' @export
#' 
#' @param gdx GDX file
#' @return tc values as MAgPIE object (%/yr)
#' @author Florian Humpenoeder
#' @examples
#' 
#'   \dontrun{
#'     x <- reportTc(gdx)
#'   }
#' 

reportTc <- function(gdx) {
  out = tc(gdx = gdx,level="regglo")
  getNames(out) <- "Productivity|Yield-increasing technological change (%/yr)"
  return(out)
}
pik-piam/magpie4 documentation built on Dec. 4, 2019, 7:04 p.m.