kmeans_tidy: K-Means tidy Functions

Description Usage Arguments Details Value Author(s) Examples

Description

K-Means tidy functions

Usage

1
kmeans_tidy(.kmeans_obj, .tidy_type = "tidy")

Arguments

.kmeans_obj

A stats::kmeans() object

.tidy_type

"tidy","glance", or "augment"

Details

Takes in a k-means object and returns one of the items asked for. Either the broom::tidy() broom::glance() or broom::augment(). The function defaults to broom::tidy()

Value

A tibble

Author(s)

Steven P. Sanderson II, MPH

Examples

1
2
3
4
5

spsanderson/LICHospitalR documentation built on Jan. 6, 2022, 12:32 a.m.