[R] rename object

Ulrich Leopold uleopold at science.uva.nl
Tue Feb 8 11:22:57 CET 2005


Dear list,

I would like to rename an object as follows:

SimLUall <- matrix(c(0,1,0,0, 1,0,0,0, 0,0,1,0, 0,0,0,1),nrow=4, ncol=4)

j <- 2

SimLUall2 <- SimLUall and j

The value of j should be assigned automatically to SimLUall.

How can I achieve this?

Regards, 
Ulrich




More information about the R-help mailing list