View source: R/plot_cluster_profiles.R
plot_cluster_profiles | R Documentation |
This function makes a plot of the outcome on exposure profiles
plot_cluster_profiles(
cluster_data,
k = 10,
exposure_values = NA,
exposure_name = "Exposure",
col_count = NULL
)
cluster_data |
cluster_profiles() object |
k |
which k (k-means) cluster to plot? |
exposure_values |
what the x-axis values should be |
exposure_name |
x-axis label |
col_count |
how many columns to have in plot |
a ggplot
plot_cluster_profiles()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.