Description Usage Arguments Details Value Author(s) See Also Examples
Create a tibble that maps the oppe_cpoe_kmeans()
using [purrr::map()
to create a nested data.frame/tibble that holds n centers. This tibble will be
used to help create a scree plot.
1 | kmeans_mapped_tbl(.data, .centers = 15)
|
.data |
You must have a tibble in the working environment that is produced by using the following work flow: oppe_cpoe_query() %>% oppe_cpoe_tbl() %>% oppe_cpoe_user_item_tbl() |
.centers |
How many different centers do you want to try |
Takes in a single parameter of .centers. This is used to create the tibble
and map the oppe_cpoe_kmeans()
function down the list creating a nested tibble.
A nested tibble
Steven P. Sanderson II, MPH
https://en.wikipedia.org/wiki/Scree_plot
1 2 3 4 5 | ui_tbl <- oppe_cpoe_query() %>%
oppe_cpoe_tbl() %>%
oppe_cpoe_user_item_tbl()
kmeans_mapped_tbl(ui_tbl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.