scale_color_fx: Make a ggplot scale to color by fracture

Description Usage See Also Examples

Description

Make a ggplot scale to color by fracture

Usage

1
2
scale_color_fx(title = "Fracture", values = AES_FX_COLORS,
  labels = AES_FX_LABELS)

See Also

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

Examples

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()

mbadge/hipsMultimodal documentation built on May 9, 2019, 12:05 a.m.