search for: leand

Displaying 1 result from an estimated 1 matches for "leand".

Did you mean: land
2009 Jan 30
3
paste together object names to pass it on to a function
...ltions just for these two diseases and the sub-list "LE" within these diseases nam <- c("LUNG","IHD") for(i in 1:2) x[i] <- paste("gnuff",nam[i],"LE",sep="$") /2 x #So I try to paste the name of the object which I mean (gnuff$IHD$LEand gnuff$LUNG$LE, respectivly), but R treats them as a string and not as the name of an object. # I tried seveal commands to make it treat like an object name (the get() looked most promising), but so far to no avail #commands I have tried j <- eval(paste("gnuff",nam[i],"LE",se...