Hello! I have a matrix:
> dim(data1)
[1] 34176 581
of 34176 rows and 581 columns,
I want to make a new matrix data2 by taking the 2nd column, 9th column, 16th
column....
the column number is in the order of:
2
9 (2+7)
16 (9+7)
23 (16+7)
...
the new matrix data2 should include 83 columns, is there an easy way to
do that using cbind() function?
Thanks a lot!
Allen
[[alternative HTML version deleted]]
______________________________________________
[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.