[R] math-type label

Ardia David david.ardia at unifr.ch
Tue Sep 16 09:36:13 CEST 2008


Dear all,
I would like to create a math-type label like this one:

c(expression(theta[1]), expression(theta[2]), ..., expression(theta[N]))

How can I do that in an automatic way (i.e., for any dimension N). I 
tried with a "for" loop, but also need to used substitute I guess. Any idea?
Thanks a lot,
David



More information about the R-help mailing list