devFun {qAnalyst} | R Documentation |
Internal function to estimate deviance
Description
devFun
computes the sum of square deviations from a center. devFun is used to estimate deviance or if a target is specified cpm statistic.
Usage
devFun(x, center = "mean")
Arguments
x |
data vector |
center |
a numeric value or "mean" (default) to estimate usual deviance statistic |
Details
Internal function
Value
A numeric value of the deviance estimation
Note
Internal function
Author(s)
Giorgio Spedicato
References
Internal function
See Also
Examples
x=c(2,3,4,5,6)
devFun(x)
[Package qAnalyst version 0.6.4 Index]