tot_sse: Compute the total sum of squares

View source: R/kmeans_diagnostics.R

tot_sseR Documentation

Compute the total sum of squares

Description

Compute the total sum of squares

Usage

tot_sse(object, ...)

Arguments

object

An cluster_spec object.

...

Other arguments passed to methods.

Examples

kmeans_spec <- k_means(k = 5) %>%
  set_engine_celery("stats")

kmeans_fit <- fit(kmeans_spec, ~., mtcars)

kmeans_fit %>%
  tot_sse()

kbodwin/celery documentation built on March 26, 2022, 12:33 a.m.