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

Re: [R] Help with expression()

2013-10-10 Thread William Dunlap
changetext = expression(paste(Change from ,mini, to , maxi, :, diff ,degree,C,collapse=)) does not evaluate my user defined variables - mini,maxi, and diff - just printing them out as words bquote() can do it: put the variables which should be evaluated in .(). E.g., mini - 13 maxi

Re: [R] Help with expression()

2013-10-10 Thread Sheri O'Connor
Thanks very much! bquote() did the trick! on Thu, Oct 10, 2013 at 6:19 PM, William Dunlap wdun...@tibco.com wrote: changetext = expression(paste(Change from ,mini, to , maxi, :, diff ,degree,C,collapse=)) does not evaluate my user defined variables - mini,maxi, and diff - just printing them

Re: [R] help with expression

2012-03-14 Thread ilai
On Wed, Mar 14, 2012 at 8:56 AM, Thomas Hoffmann hoffm...@giub.uni-bonn.de 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

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 hoffm...@giub.uni-bonn.de 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:

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 -

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 in expression( )

2010-06-02 Thread Uwe Ligges
On 02.06.2010 20:22, Shant Ch wrote: Hi, I was trying to have a graph whose axes are of the following type: X axis: n and Y axis: var[U ((a,b) in suffix, and (n,d) in the power)]. U ((a,b) in suffix, and (n,d) in the power)-U^(n,d) _ (a,b). Actually I require many plots involving

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 -

Re: [R] help with expression()

2009-08-18 Thread Vitalie S.
On Mon, 17 Aug 2009 12:24:28 +0200, deanj2k dl...@le.ac.uk 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_,