Re: [R] Help with expression()

2013-10-11 Thread Uwe Ligges
On 10.10.2013 21:40, Sheri wrote: Hi everyone, I am hoping someone can help with my attempted use of the expression function. I have a long series of text and variable to paste together including a degree symbol. The text is to be placed on my scatter plot using the mtext function. Using expres

Re: [R] Help with expression()

2013-10-10 Thread Sheri O'Connor
ot;Change from" ~ .(mini) ~ "to" ~ .(maxi) * ":" ~ > .(diff) ~ degree ~ "C")) > > Bill Dunlap > Spotfire, TIBCO Software > wdunlap tibco.com > > >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-he

Re: [R] Help with expression()

2013-10-10 Thread William Dunlap
are wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Sheri O'Connor > Sent: Thursday, October 10, 2013 1:08 PM > To: R-help@r-project.org > Subject: [R] Help with expression() > &g

[R] Help with expression()

2013-10-10 Thread Sheri O'Connor
Hi everyone, I am hoping someone can help with my attempted use of the expression function. I have a long series of text and variable to paste together including a degree symbol. The text is to be placed on my scatter plot using the mtext function. Using expression like this: changetext = expres

[R] Help with expression()

2013-10-10 Thread Sheri
Hi everyone, I am hoping someone can help with my attempted use of the expression function. I have a long series of text and variable to paste together including a degree symbol. The text is to be placed on my scatter plot using the mtext function. Using expression like this: changetext = expres

Re: [R] help with expression

2012-03-14 Thread David Winsemius
On Mar 14, 2012, at 11:53 AM, ilai wrote: On Wed, Mar 14, 2012 at 8:56 AM, Thomas Hoffmann wrote: Hi all, I still fail to plot an axis title with the following expression: plot(0,xlab=expression('(SOC [' * kgm^{-2} * '])' * ^{-2})) the xlab should look like: (SOC [kgm^2])^0.25 with an o

Re: [R] help with expression

2012-03-14 Thread ilai
On Wed, Mar 14, 2012 at 8:56 AM, Thomas Hoffmann wrote: > Hi all, > > I still fail to plot an axis title with the following expression: > > plot(0,xlab=expression('(SOC [' * kgm^{-2} * '])' * ^{-2})) > > the xlab should look like:   (SOC [kgm^2])^0.25 > > with an out bracket and a superscript. >

[R] help with expression

2012-03-14 Thread Thomas Hoffmann
Hi all, I still fail to plot an axis title with the following expression: plot(0,xlab=expression('(SOC [' * kgm^{-2} * '])' * ^{-2})) the xlab should look like: (SOC [kgm^2])^0.25 with an out bracket and a superscript. Thanks for your advice. Thomas [[alternative HTML version del

Re: [R] Help with expression

2011-01-24 Thread David Scott
Thanks. Exactly what I wanted. As usual, I played around with all sorts of things to try and get the expression right, but never thought of as.name. David Scott On 25/01/2011 4:32 a.m., Charles C. Berry wrote: On Tue, 25 Jan 2011, David Scott wrote: I have a problem with expressions. I am

Re: [R] Help with expression

2011-01-24 Thread Charles C. Berry
On Tue, 25 Jan 2011, David Scott wrote: I have a problem with expressions. I am trying to create a title where the parameter of interest is displayed as a Greek character. Which parameter is being considered is stored in a character variable. As an example, if I have param <- "alpha" param

[R] Help with expression

2011-01-24 Thread David Scott
I have a problem with expressions. I am trying to create a title where the parameter of interest is displayed as a Greek character. Which parameter is being considered is stored in a character variable. As an example, if I have param <- "alpha" and then do plot(0, 0, main = bquote(Parameter=

Re: [R] help with expression()

2009-08-18 Thread Vitalie S.
On Mon, 17 Aug 2009 12:24:28 +0200, deanj2k wrote: Hello. I have a vector and within that vector is one expression. When I display this vector it comes up as expression(NA_character_, NA_character_, "Null Effect", "Pooled effect", NA_character_, NA_character_, NA_character_, NA_character

Re: [R] help with expression()

2009-08-18 Thread Kenn Konstabel
All of it is an expression (see ?expression). Maybe you'd better explain what exactly you're trying to do or what you mean by standard format and "usual way" (this part depends very much on what you're used to). You can manipulate parts of this expression, say, like this: foo <- expression(NA_char

[R] help with expression()

2009-08-17 Thread deanj2k
Hello. I have a vector and within that vector is one expression. When I display this vector it comes up as expression(NA_character_, NA_character_, "Null Effect", "Pooled effect", NA_character_, NA_character_, NA_character_, NA_character_, NA_character_, paste("Het Contours ", I^2, se