[R] AlgDesign expand.formula()

S Ellison S.Ellison at lgc.co.uk
Thu Aug 9 16:21:27 CEST 2007


Can anyone explain why AlgDesign's expand.formula help and output differ?


#From help:
#  quad(A,B,C) makes ~(A+B+C)^2+I(A^2)+I(B^2)+I(C^2)

expand.formula(~quad(A+B+C))
#actually gives ~(A + B + C)^2 + I(A + B + C^2)

They don't _look_ the same...

Steve E

*******************************************************************
This email contains information which may be confidential and/or privileged, and is intended only for the individual(s) or organisation(s) named above. If you are not the intended recipient, then please note that any disclosure, copying, distribution or use of the contents of this email is prohibited. Internet communications are not 100% secure and therefore we ask that you acknowledge this. If you have received this email in error, please notify the sender or contact +44(0)20 8943 7000 or postmaster at lgcforensics.com immediately, and delete this email and any attachments and copies from your system. Thank you. 

LGC Limited. Registered in England 2991879. 
Registered office: Queens Road, Teddington, Middlesex TW11 0LY, UK



More information about the R-help mailing list