Skip to content

question about string to boor?

5 messages · David Winsemius, Christoph Molnar, Rolf Turner +1 more

#
Hello!
So I am handling this problem with some arrays grp1-grp7, I want to write a
loop to avoid tedious work, but I don't know how to transform string to
boor? 
For example I used 
i=1 
paste("grp",i, sep="")
I only got "grp1" instead of grp1, which can't be manipulate using mean() or
other function. 

I am not sure if I make myself clear...
THANKS!!!!

Nellie

 

--
View this message in context: http://r.789695.n4.nabble.com/question-about-string-to-boor-tp3890983p3890983.html
Sent from the R help mailing list archive at Nabble.com.
#
On Oct 10, 2011, at 12:52 PM, song_gpqg wrote:

            
?get

e.g.
get( paste("grp",i, sep="") )
David Winsemius, MD
West Hartford, CT
#
On 11/10/11 08:21, Christoph Molnar wrote:
But using get() is so much simpler and safer.

     cheers,

         Rolf Turner