Skip to content

Choose variables according to index

3 messages · Hadassa Brunschwig, Uwe Ligges, PIKAL Petr

#
On 06.01.2010 11:19, Hadassa Brunschwig wrote:
So please read the posting guide and according to that search in the 
mailing list archives and particularly the R FAQs (it is descibred in 
there!).

Uwe Ligges
#
Hi

r-help-bounces at r-project.org napsal dne 06.01.2010 11:19:01:
not
do
Put your var.n to list

lll<- list(var.1, var.2, var.3)

and use list indexing
temp.mat <- lll[[i]]

do stuff with temp.mat
http://www.R-project.org/posting-guide.html