Java Mailing List Archive

http://www.r-help.com/

Home » R Help for Statistical Computing »

Re: [R] combinations/ indexing a matrix

Richard M. Heiberger

2010-03-11

Replies: Find Java Web Hosting

Author LoginPost Reply
res <- combn(4,2)
result <- LETTERS[res]
dim(result) <- dim(res)
result


## Rich

 [[alternative HTML version deleted]]

______________________________________________
R-help@(protected)
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.
©2008 r-help.com - Jax Systems, LLC, U.S.A.