View source: R/mute_insufficient.R
mute_insufficient | R Documentation |
This function counts data points (per region, year, scenario) and sets them to NA if the count
is less than given in n_suff
. This is useful to clean your data before fitting. No fit will
be calculated where no data is available.
mute_insufficient(data, n_suff)
data |
MAgPIE object containing the samples to remove the duplicates from. |
n_suff |
Minial number (default=1) of data points that will be regarded as sufficient to perform a fit. |
Magpie object with duplicated samples set to NA.
David Klein
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.