Description Usage See Also Examples
Make a ggplot scale to color by fracture
1 2 | scale_color_fx(title = "Fracture", values = AES_FX_COLORS,
labels = AES_FX_LABELS)
|
Other gg_aes: PrettyPredictors,
PrettyTargets, facet_cnn,
gg_x_target, scale_color_cnn,
scale_color_cohort,
scale_color_device,
scale_color_targetMode,
scale_color_target,
scale_color_view,
scale_fill_sex,
scale_predictor_,
scale_x_cohort,
scale_x_target
1 2 | df <- data.frame(fx = rep(c("TRUE", "FALSE"), 50), PC1=rnorm(100), PC2=rnorm(100))
ggplot(df, aes(x=PC1, y=PC2, col=fx)) + geom_point() + scale_color_fx()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.