Displaying 1 result from an estimated 1 matches for "temptrial".
Did you mean:
temporal
2005 Feb 14
1
how can i make my program faster
...ight now, my table is
table1 <- data.frame(trial = NA, x = NA, y = NA)
for each time when i want to add data into my data, i have to copy data of table into an array for each column, and then i add new data into my array, then i copy my array into the table one column by one column. For example
temptrial <- table1$trial;
temptrial <- c(temptrial, "1, 2");
tempx <- table1$x;
tempx <- c(tempx, "1, 2");
tempy <- table1$y;
tempy <- c(tempy, "1, 2");
table1 <- data.frame(trial = temptrial, x = tempx, y = tempy);
the way i am doing makes my program...