[R] how to write fac.design (S-plus) in R

From: Becky lin <cnlinwei_at_gmail.com>
Date: Wed, 21 May 2008 15:36:02 -0400


hi,

Anyone here know well of the fac.design of S-plus? I need to rewrite the following code in R

code in S-plus
*pt.design = fac.design( c(2,2,3,2),factor.names = list(Hs=c("I","II"),lef =
c("0","1"),lep = c("0","1","2"),Type=c("gt","sy"))) c.design=fac.design(
levels=c(2,2,2,2),factor=list(A=lohi,B=lohi,C=lohi,D=lohi),fraction=1/2) f.design=fac.design(
rep(2,6),factor.names=c("XF",XE","XD","XC","XB","XA"),fraction=~XA:XB:XC:XD+XB:XC:XE:XF)
*

I need to rewrite the above in R, but I have no idea what the results look like under S-plus since I don't have such platform. So could some one here help me out, or just give the result under S-plus will also be appreciated.

Best Wishes,
Becky

-- 
+++++++++++++++++++++

Be not afraid of growing slowly,
be afraid only of standing still.
−−Chinese Proverb

+++++++++++++++++++++

	[[alternative HTML version deleted]]

______________________________________________
R-help_at_r-project.org mailing list
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.
Received on Wed 21 May 2008 - 19:40:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 21 May 2008 - 20:32:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive