Displaying 1 result from an estimated 1 matches for "t24v2msa8".
2008 Dec 08
3
Transforming a string to a variable's name? help me newbie...
...uot;, e.g.
tmptrialinfo <- subset(trialinfo, (Subject==24 & Filename=="v2msa8"))
The name of the dataframe / variable of an individual trial can be
obtained using:
paste("t",tmptrialinfo[1,2],tmptrialinfo[1,16],".gz",sep="")
Then I get a string:
"t24v2msa8.gz"
which is of the exact same name of the dataframe / variable of that
trial, which is:
t24v2msa8.gz
Can somebody tell me how can I change that string (obtained from
"paste()" above) to be a usable / manipulable variable name, so that I
can do something, such as:
(1)
tmptrial <-...