View source: R/smoothParameter.R
smoothParameter | R Documentation |
Calculate the average of two parameter sets to smooth out any local anomalies. Mostly useful to smooth out a local (say OBK) parameter set using a global one (say NRW).
Technically this function calculates
(1-weight) * para + weight * other
ensuring that the names etc. of para
are preserved.
smoothParameter(para, other, weight = 0.2)
para |
Parameter set to smooth |
other |
Other parameters to average in |
weight |
Weight of other parameters |
Weighted parameter set
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.