Displaying 1 result from an estimated 1 matches for "w194".
Did you mean:
194
2001 Apr 27
1
creating expressions inside loop
...paste("w1", y.mat[i,],sep="",collapse = ", "),")")
)
)
)
}
# which gives no error, but
> dimnames(eval(shift[[1]]))[2]
[[1]]
[1] "w189" "w190" "w191" "w192" "w193" "w194" "w195"
> dimnames(eval(shift[[4]]))[2]
[[1]]
[1] "w189" "w190" "w191" "w192" "w193" "w194" "w195"
is all the same, because "i" is fixed by the last value
in the loop. So how can i change
> shift[...