4.7. For designed experiments it is often useful to predict the response at each combination of levels
Question:
4.7. For designed experiments it is often useful to predict the response at each combination of levels of the treatment factors. Write a function expand. factors which takes any number of factor arguments and returns a data frame with the factors as columns and each combination of levels occurring as exactly once row.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Modern Applied Statistics With S-Plus
ISBN: 9781489928191
1st Edition
Authors: W. N. Venables, B. D. Ripley
Question Posted: