Description Usage Arguments Details Value Author(s) Examples
Takes the output of the oppe_cpoe_user_item_tbl()
function and applies the
k-means algorithm to it using stats::kmeans()
1 | oppe_cpoe_kmeans(.data, .centers = 5)
|
.data |
The data that gets passed from |
.centers |
How many initial centers to start with |
Uses the stats::kmeans()
function and creates a wrapper around it.
A stats k-means object
Steven P. Sanderson II, MPH
1 2 3 4 | oppe_cpoe_query() %>%
oppe_cpoe_tbl() %>%
oppe_cpoe_user_item_tbl() %>%
oppe_cpoe_kmeans()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.