toolFreezeEffect: toolFreezeEffect

View source: R/toolFreezeEffect.R

toolFreezeEffectR Documentation

toolFreezeEffect

Description

This function freeze values given a specific year and optionally additionally at the first non-zero value

Usage

toolFreezeEffect(x, year, constrain = FALSE)

Arguments

x

data set to freeze

year

year to hold constant (onwards)

constrain

if FALSE, no constrain. Other options: 'first_use' (freeze from 'first use' ( <=> !=0 ))

Value

magpie object with global parameters

Author(s)

Kristine Karstens


pik-piam/mstools documentation built on Dec. 8, 2024, 5:29 a.m.