Default titles in simplevis try to provide a polished quick graph with minimal code by:
snakecase::to_sentence_case
function.gg_point_col(penguins, bill_length_mm, body_mass_g, species)
Depending on column names and the purpose of the visualisation, the sentence case transformation of column names may not be appropriate titles, and you will need to change them manually.
You can do this using the title
, subtitle
, x_title
, y_title
, col_title
and caption
arguments.
gg_point_col(penguins, bill_length_mm, body_mass_g, species, title = "Adult penguin mass by bill length and species", subtitle = "Palmer station, Antarctica", x_title = "Bill length (mm)", y_title = "Body mass (g)", col_title = "Penguin species")
If you want no x, y or colour title, you need to use x_title = ""
, y_title = ""
or col_title = ""
as applicable.
gg_point_col(penguins, bill_length_mm, body_mass_g, species, x_title = "")