Dear all
Is there a more efficient way of achieving the following (assigning to an
indexed vector in a loop):
test5 <- 1:10
eval(parse(text=paste("test",5,"[",7,"]<- ",0.435,sep="")))
this works, but it is probably very slow.
Thanks
Sebastian Leuzinger
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.