Learn R Programming

descriptr (version 0.5.1)

ds_css: Corrected Sum of Squares

Description

Compute the corrected sum of squares

Usage

ds_css(x, na.rm = FALSE)

Arguments

x

a numeric vector containing the values whose mode is to be computed

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

Value

Corrected sum of squares of x

Details

Any NA values are stripped from x before computation takes place.

Examples

Run this code
# NOT RUN {
ds_css(mtcars$mpg)
# }

Run the code above in your browser using DataLab