try this:

a <- "one"
b <- "two"

paste(a, b, sep = ", ")


I hope it helps.

Best,
Dimitris


On 9/28/2010 12:12 PM, trb1 wrote:

Hi all,

how can I manually create a data.frame or similar object to display in a
textplot, that omits column and row numbers/headings?

Also, how can I combine several variables in text
i.e. suppose I have
a<- "one"
b<- "two"
then what expression can I place in
title(main=...)
in terms of a and b to give an output title of
"one, two"
i.e. a then b separated by a comma.

Thanks



--
Dimitris Rizopoulos
Assistant Professor
Department of Biostatistics
Erasmus University Medical Center

Address: PO Box 2040, 3000 CA Rotterdam, the Netherlands
Tel: +31/(0)10/7043478
Fax: +31/(0)10/7043014

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to