Control y-axis limits, big marks and decimal marks

thlYaxisControl(
  lang = "fi",
  limits = NULL,
  breaks = waiver(),
  sec.axis = FALSE,
  sec.axis.breaks = waiver(),
  sec.axis.labels = waiver()
)

Arguments

lang

Language: "fi" (default) for Finnish or "en" for English

limits

Specify y-axis limits

breaks

waiver() is the default breaks, see scale_continuous()

sec.axis

specify a secondary axis, see scale_continuous()

sec.axis.breaks

waiver() is the default breaks for a secondary axis

sec.axis.labels

the labels to be plotted on secondary axis, waiver() is the default, see sec_axis()

Value

ggplot options, to be combined with ggplot object with "+"

See also

scale_x_continuous sec_axis

Author

Salla Toikkanen, Tarja Palosaari, Petteri Mäntymaa