View source: R/estimateVPRMPars.R
getAbsWeightedErr | R Documentation |
calculate sum of absolute errors, ignoring NAs.
getAbsWeightedErr(x)
x |
error values |
if there are no valid (non-NA) data points, return a very high value (currently 1e20). This allows use with DEoptim, which issues an error if a cost function returns NA.
sum of absolute errors in x.
Timothy W. Hilton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.