Displaying 2 results from an estimated 2 matches for "n2nd".
Did you mean:
2nd
2011 Mar 01
2
expression help
...tions and a lot of trial and error (and I'm
trying to write a general purpose function).
Here's where I've gotten to:
plot(0:1,0:1,xaxt="n")
axis(side=1,at=.3,expression(paste("IFN-", gamma, "\n", "TNF-", alpha)))
axis(side=1,at=.6,"a label\n2nd line")
What I am trying to do is illustrated by the the non-expression axis
label ("a label\n2nd line"). The "\n" forces a new line when I'm not
using expressions, but doesn't work for my real example.
I have googled for general documentation on expressions, bu...
2010 Sep 30
2
can I add line breaks to the paste() function?
Can I add a line break to the paste() function to return the following:
'this is the first line'
'this is the second line'
instead of
'this is the first line this is the second line'
?