Ulrich Leopold wrote:
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
Not absolutely sure what you are going to do, I guess either
SimLUall2 <- SimLUall
SimLUall <- j
or
assign(paste("SimuLUall", j, sep=""), SimuLUall)
Uwe Ligges
The value of j should be assigned automatically to SimLUall.
How can I achieve this?
Regards,
Ulrich
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html