Skip to content
Back to formatted view

Raw Message

Message-ID: <5AFDDD57E2771B409224CD858CC6DE0D02DAB352@mailer-e051.umh.es>
Date: 2004-01-07T16:53:56Z
From: Perez Martin, Agustin
Subject: assign

DeaR useRs:

I would like to assign a values in an object using a loop 'for'.
This is a reduce example of my problem, my real problem is a few
complicated:

for (j in 1:10) {
	x.j<-rnorm(100)
}

I want to create 10 objects as "x.1, x.2, ... , x.9, x.10" with values in
it.
I used the "assign" function but nothing happens.
Thank you very much