standardDeviation(deltaDegreesOfFreedom:)
Returns the standard deviation of the integer column slice’s elements, ignoring missing elements.
Declaration
func standardDeviation(deltaDegreesOfFreedom: Int = 1) -> Double?Parameters
- deltaDegreesOfFreedom:
A nonnegative integer. The method calculates the standard deviation’s divisor by subtracting this parameter from the number of non-
nilelements (n - deltaDegreesOfFreedomwherenis the number of non-nilelements).
Return Value
The standard deviation; otherwise, nil if there are fewer than deltaDegreesOfFreedom + 1 non-nil items in the column.