plot_cluster_profiles: Plot the outcome exposure profiles derived from the function...

View source: R/plot_cluster_profiles.R

plot_cluster_profilesR Documentation

Plot the outcome exposure profiles derived from the function cluster_profiles()

Description

This function makes a plot of the outcome on exposure profiles

Usage

plot_cluster_profiles(
  cluster_data,
  k = 10,
  exposure_values = NA,
  exposure_name = "Exposure",
  col_count = NULL
)

Arguments

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

Value

a ggplot

Examples

plot_cluster_profiles()

hughesevoanth/glsmr documentation built on May 14, 2023, 3:41 p.m.