Learn R Programming

descriptr (version 0.5.2)

ds_css: Corrected Sum of Squares

Description

Compute the corrected sum of squares

Usage

ds_css(x, data = NULL, na.rm = FALSE)

Arguments

x

a numeric vector.

data

a data.frame or tibble.

na.rm

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

Examples

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

Run the code above in your browser using DataLab