Hello,
currently I am using code, which basically works like this:
|
| for (i in 1:20) {
| for (j in 1:30) {
| df[i, j, 20] <- df[i,j,27] + df[i,j,30]
| }
| }
df is: `data.frame: 360 obs. of 30 variables'
Do you have any ideas whether I could get this code any faster?
Regards,
Sven C. Koehler
______________________________________________
[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.