
Last chance! 50% off unlimited learning
Sale ends in
quickText(text, auto.text = TRUE)
TRUE
, applies
quickText
to text
and returns the result. The alternative,
FALSE
, returns text
unchanged. (A number of openair
functions enable/uquickText
is routine formatting lookup table. It screens the
supplied character vector text
and automatically applies formatting
to any recognised character sub-series. The function is used in a number of
openair
functions and can also be used directly by users to format
text components of their own graphs (see below).#example 1
##see axis formatting in an openair plot, e.g.:
scatterPlot(mydata, x = "no2", y = "pm10")
#example 2
##using quickText in other plots
plot(mydata$no2, mydata$pm10, xlab = quickText("my no2 label"),
ylab = quickText("pm10 [ ug.m-3 ]"))
Run the code above in your browser using DataLab