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 [[alternative HTML version deleted]] ______________________________________________ R-help@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.