4.6. Write an S function to produce a matrix whose rows contain the subsets of size r...

Question:

4.6. Write an S function to produce a matrix whose rows contain the subsets of size r of the first n elements of the vector v. Ignore the possibility of repeated values in v and give this argument the default value 1: n .

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Modern Applied Statistics With S-Plus

ISBN: 9781489928191

1st Edition

Authors: W. N. Venables, B. D. Ripley

Question Posted: