label_vertical | R Documentation |
label_vetical
is function to convert the axis labels of a ggplot2 format graph to a vertical writing system.
vertical_list
is the list includes formulas for converting basic horizontal bars to vertical bars.
label_vertical(
replace_list = vertical_list(),
line_feed = NULL,
blank_space = " "
)
vertical_list()
replace_list |
Specifies what to replace the string with, either in expression form or in list form containing expression forms. If no replacements are needed, specify NULL. |
line_feed |
Enter a key character or escape sequence for line breaks. This is given directly to |
blank_space |
Adjust the blanks to adjust for slight misalignment in strings that have no characters on the adjacent line when breaking lines. Please enter the required amount. If you enter a string or other text, the string will be output where there is no string. |
It does not actually realize the vertical writing system, but actually just changes lines one character at a time. If horizontal bars are not replaced with vertical bars, unnatural Japanese notation may result.
The function to express line breaks when the text consists only of Japanese has been provided, but there is a possibility of misalignment when half-width characters are included or when proportional fonts are used.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.