# Simulated clinical data
clinical_df <- clinical_data()
# Basic histogram
plot_hist(clinical_df, x = "biomarker")
# Grouped histogram
plot_hist(clinical_df, x = "biomarker", group = "treatment")
# Faceted histogram
plot_hist(clinical_df, x = "biomarker", facet = "treatment")
Run the code above in your browser using DataLab