[R] how can i compute the average of three blocks for each column ?

2006-10-15 Thread Yen Ngo
Dear all, I want to compute the average of the three blocks for each x-variable which is equal slide in the code below. How can I do that ? block x1x2x3x4x5 12322 232423 12125 262139 1232422

[R] How can I delete components in a column ?

2006-10-09 Thread Yen Ngo
Hi all R-helpers, i am a new R-user and have problem with deleting some components in a column. I have a dataset like Name Idx empty 2 empty 3 anone2 bnone3 d none 2 ad cfh 4 bf cdt 5