Skip to content
Prev 58513 / 398502 Next

calling a var by name in another var

look at ?get, this is also in R-FAQ 7.21

get(myvar1) + get(myvar2)


Best,
Dimitris

----
Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/16/396887
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat/
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Oskar Villani" <o.villani at utanet.at>
To: <r-help at stat.math.ethz.ch>
Sent: Thursday, November 04, 2004 2:58 PM
Subject: [R] calling a var by name in another var