CommencerCommencer gratuitement

Tweaking the appearance

So far, you have used the default settings for your SPLOMs. Now, we will introduce two common customizations to explore:

  • Deleting the diagonal panels.
  • Displaying only the upper or lower triangle of plots.

Both customizations are implemented by adding a style() layer.

Your task is to style your SPLOM from the previous exercise to explore how these customizations work.

Your plot from the previous exercise is stored in the splom object, and plotly has been loaded for you.

Cet exercice fait partie du cours

Interactive Data Visualization with plotly in R

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Delete the diagonal plots in splom
splom %>%
   style(___ = ___(___ = ___))
Modifier et exécuter le code