oppe_cpoe_umap: OPPE CPOE UMAP Projection

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Create an umap object from the uwot::umap() function.

Usage

1
oppe_cpoe_umap(.data, .kmeans_map_tbl, .k_cluster = 5)

Arguments

.data

The data from the oppe_cpoe_user_item_tbl() function

.kmeans_map_tbl

The data from the kmeans_mapped_tbl()

.k_cluster

Pick the desired amount of clusters from your analysis of the scree plot

Details

This takes in the user item table/matix that is produced by oppe_cpoe_user_item_tbl() function. This function uses the defaults of uwot::umap()

Value

A list of tibbles and the umap object

Author(s)

Steven P. Sanderson II, MPH

See Also

Examples

1
2
3
4
5
6
7
ui_tbl <- oppe_cpoe_query() %>%
  oppe_cpoe_tbl() %>%
  oppe_cpoe_user_item_tbl()

kmm_tbl <- kmeans_mapped_tbl(ui_tbl)

oppe_cpoe_umap(.data = ui_tbl, kmm_tbl, 3)

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