[S] Q: design object-how to define response?

Daniel Svozil (D.Svozil@plymouth.ac.uk)
Wed, 1 Jul 1998 15:42:39 BST


Hi S-Plus users,

I have the following problem. I have stored in text file the
experimental design matrix together with response. It has following
structure: 8 factors (1,2,3,4,5,6,7,8), 1 response (9), 81
experiments. How to create from this matrix an object of class
design? I converted all the columns (1-8, i.e. factors) into factors
using function factors(data[,1])...factors(data[,8]) and then created
variable data.des using data.des<-design(1,2,3,4,5,6,7,8). But how
to incorporate response 9 into the variable data.des???????

Thanks in advance

Dan

---------------------------------------
Daniel Svozil
Deparment of Environmental Sciences
University of Plymouth
Drake Circus
Plymouth
Devon PL4 8AA
United Kingdom

e-mail: dsvozil@plymouth.ac.uk
Tel: ++44-(0)1752-23 30 29
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news