search for: mydat1_u

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

Did you mean: mydat1
2013 Dec 08
2
How to evaluate sequence of strings like this
..., I don't want to write like this ...    "mydat$Centrecode, mydat$FSUSN,mydat$Round". So,  I tried to automate using following code.   nvar <- paste("mydat","$",names(mydat)[1:3],sep="") mydat1 <- paste(eval(parse(text=nvar))) newds <- data.frame(mydat1_u)   I am finding problem in the second line. Please help me.  Thank you for your kind help. -- View this message in context: http://r.789695.n4.nabble.com/How-to-evaluate-sequence-of-strings-like-this-tp4681823.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML vers...