Re: [R] Substituting Greek symbols in some tick labels

2013-07-05 Thread Eric Archer - NOAA Federal
David, That's perfect! I just didn't think to use 'parse'. Thanks! Cheers, eric On Fri, Jul 5, 2013 at 8:20 AM, David Winsemius wrote: > > On Jul 4, 2013, at 8:14 PM, Eric Archer - NOAA Federal wrote: > > > I have a character vector that I'm using to label ticks in a dotchart. > Some > > of th

Re: [R] Substituting Greek symbols in some tick labels

2013-07-05 Thread David Winsemius
On Jul 4, 2013, at 8:14 PM, Eric Archer - NOAA Federal wrote: > I have a character vector that I'm using to label ticks in a dotchart. Some > of the elements in the vector have an asterisk (*) where a Greek Delta > needs to be placed when the plot is generated. Here's a simple example: > > x <-

Re: [R] Substituting Greek symbols in some tick labels

2013-07-04 Thread Eric Archer - NOAA Federal
David, thanks for the reply. No, I don't want to do it by hand because the actual data that I need to label is much larger and variable. The deltas occur in the label character vector for some labels and not others and are in different positions in the character strings. In the example I gave, th

Re: [R] Substituting Greek symbols in some tick labels

2013-07-04 Thread David Winsemius
On Jul 4, 2013, at 8:14 PM, Eric Archer - NOAA Federal wrote: I have a character vector that I'm using to label ticks in a dotchart. Some of the elements in the vector have an asterisk (*) where a Greek Delta needs to be placed when the plot is generated. Here's a simple example: x <- 1:4

[R] Substituting Greek symbols in some tick labels

2013-07-04 Thread Eric Archer - NOAA Federal
I have a character vector that I'm using to label ticks in a dotchart. Some of the elements in the vector have an asterisk (*) where a Greek Delta needs to be placed when the plot is generated. Here's a simple example: x <- 1:4 x.lab <- c("a*a", "bbb", "c*c", "ddd") dotchart(x, labels = x.lab) Th