sm_common_ylabel {smplot2}R Documentation

Common y-axis label (title) for combined subplots

Description

Common y-axis label (title) for combined subplots

Usage

sm_common_ylabel(
  label = "",
  size = 17,
  x = 0.5,
  y = 0.52,
  fontface = "plain",
  angle = 90
)

Arguments

label

The input should be string.

size

Text size of the label.

x

Location of the label along the x-axis. Default is the middle origin (0.5).

y

Location of the label along the y-axis. Default is the middle origin (0.5).

fontface

The default is to set the text of the title as plain This can be changed, to either "plain", "bold", "italic", "bold.italic" .

angle

Orientation of the y-axis title. Default is 90 degrees.

Value

It returns a layer with the specified common y-axis label for combined plot.

Examples

library(smplot2)
sm_common_ylabel('My y-axis')

[Package smplot2 version 0.2.4 Index]