FAQ

On Mon, 31 Dec 2001, Martin Maechler wrote:

The solution to your problem has been part of the S language
for ever :

mat[ cbind(dim1, dim2) ]


I did not know... note: I am not very much knowledgeable about the S
language. What I know from it is through R (for it is rather 'S is not
unlike R' =) ).

Note that this is mentioned in help("[") and MASS and ...

When I looked for this way to extract elements, I naturally looked at the
help for the indexing of elements ("["), but I checked again in R 1.4.0.
I could not find such a thing mentionned... may be in the S documentation
?



Thanks to all the quick answer on a 31st of december =)





Laurent


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
groupr-help @
categoriesr
postedDec 31, '01 at 1:28p
activeJan 2, '02 at 8:01a
posts4
users3
websiter-project.org
irc#r

People

Translate

site design / logo © 2017 Grokbase