On Thu, 13 Apr 2006, Chad Reyhan Bhatti wrote:
> Hello,
>
> I am creating a number of objects that I wish to have a common name with
> an index such as x1, x2, x3, ... I would like to do everyting in a loop to
> make the code compact and minimize the probability of an error by typo.
see FAQ 7.21
On Thu, 2006-04-13 at 15:04 -0500, Chad Reyhan Bhatti wrote:
> Hello,
>
> I am creating a number of objects that I wish to have a common name with
> an index such as x1, x2, x3, ... I would like to do everyting in a loop to
> make the code compact and minimize the probability of an error by typo.
Hello,
I am creating a number of objects that I wish to have a common name with
an index such as x1, x2, x3, ... I would like to do everyting in a loop to
make the code compact and minimize the probability of an error by typo.
A test problem may look like
for (j in 1:10){
as.symbol(paste(