I want to select a subset of an array, but I want to make a function so that
it can handle any number of dimensions.
This is probably best described with an example
x - 1:100
dim(x) - c(10,10)
x
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
[1,]1 11 21 31 41 51 61
be
greatfully accepted.
Mark
--
Mark McDowall
__
R-help@r-project.org 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
2 matches
Mail list logo