tau: tau

View source: R/tau.R

tauR Documentation

tau

Description

Calculates Landuse intensity indicator tau based on a MAgPIE gdx file

Usage

tau(
  gdx,
  file = NULL,
  level = "reg",
  start_value = FALSE,
  digits = 4,
  prev_year = "y1985",
  type = "crop"
)

Arguments

gdx

GDX file

file

a file name the output should be written to using write.magpie

level

Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate

start_value

If TRUE, the initial values are added under the year prev_year

digits

The result will be rounded to this number of digits

prev_year

Year to store the initialization tau information in

type

type of tc 'pastr' or 'crop'; or "both" if both are needed

Value

A MAgPIE object containing tau values (index)

Author(s)

Jan Philipp Dietrich

Examples

## Not run: 
x <- tau(gdx)

## End(Not run)


pik-piam/magpie4 documentation built on April 22, 2024, 3:34 p.m.