Produce a string with one word per line Designed for splitting strings to fit better on axis on charts

Share:

Description

Produce a string with one word per line Designed for splitting strings to fit better on axis on charts

Usage

1

Arguments

x

string

...

Allows additional parameters to be passed to gsub

See Also

Other helper: CJ.dt, convertToXML, generatePDF, sanitise

Examples

1
2
library('ggplot2')
ggplot(data.frame(x=1:10,y=1:10),aes(x,y))+theme_optimum()+geom_line()