Description Usage Arguments Details Value Author(s) Examples
This function takes the data from the oppe_cpoe_trend_tbl()
function
and creates from that data along with the umap_kmeans_cluster_results_tbl from the
oppe_cpoe_umap()
function.
1 | oppe_cpoe_cluster_trends_tbl(.data, .umap_data, ...)
|
.data |
The data that needs to be passed to the function from the |
.umap_data |
The umap_kmeans_cluster_results_tbl from the |
... |
Any extra columns you want passed to the function. By default the following are selected:
You can choose the from the following as extra:
|
Requires data from the oppe_cpoe_trend_tbl()
and oppe_cpoe_umap()
functions. This data is later used to show how a particular provider stacks up
against others in the same cluster.
A tibble
Steven P. Sanderson II, MPH
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | q <- oppe_cpoe_query() %>%
oppe_cpoe_tbl()
trend_tbl <- q %>%
oppe_cpoe_trend_tbl()
ui_tbl <- q %>%
oppe_cpoe_user_item_tbl()
kmm_tbl <- ui_tbl %>%
kmeans_mapped_tbl()
umap_obj <- oppe_cpoe_umap(
.data = ui_tbl
, .kmeans_map_tbl = kmm_tbl
, .k_cluster = 3
)
oppe_cpoe_cluster_trends_tbl(trend_tbl, umap_obj)
oppe_cpoe_cluster_trends_tbl(trend_tbl, umap_obj, hospitalist_np_pa_flag)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.