View source: R/estimateVPRMPars.R
getSSE | R Documentation |
calculates sum of squares of X.
getSSE(x)
x |
values for which to calculate sum of squares |
if there are no valid data points, return an arbitrary (and very high) SSE. This is a little bit of a hack - it really ought to return NA in that situation, but it can"t return NA, because the DEoptim implementation of DE requires that the optimized function return a non-NA scalar.
sum of squares of x
Timothy W. Hilton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.