maorify: Substitute regular vowels for Maori language equivalents with...

Description Usage Arguments Value Author(s) Examples

Description

The Maori language includes vowels with macrons. Including these in R plots often involves typing unicode strings for the relevant macron vowel This function makes this easier, by substituting all instances of the substring "@vowel" for the macronised equivalent in unicode

Usage

1

Arguments

x

a string

Value

a string with unicode macroned vowels substituted for "@vowel" substrings.

Author(s)

Michael Scroggie

Examples

1
2
hist(rpois(1000, 5), xlab=maorify("Number of T@u@i per hectare"),
	 main=maorify("Density of T@u@i at Whakat@ane"), col="blue")

scrogster/scrogR documentation built on May 8, 2019, 1 a.m.