Re: [R] question on formula and terms.formula()

2011-07-14 Thread Pang Du
for terms.formula(mf$formula). Pang Du Virginia Tech -Original Message- From: William Dunlap [mailto:wdun...@tibco.com] Sent: Wednesday, July 13, 2011 12:21 PM To: pan...@vt.edu; r-help@r-project.org Subject: RE: [R] question on formula and terms.formula() Does your code work if you omit the match.call

Re: [R] question on formula and terms.formula()

2011-07-14 Thread Pang Du
Points taken and terms(formula) is used now. Thanks. -Original Message- From: William Dunlap [mailto:wdun...@tibco.com] Sent: Thursday, July 14, 2011 11:56 AM To: Pang Du; r-help@r-project.org Subject: RE: [R] question on formula and terms.formula() I think you should replace

Re: [R] two-way group mean prediction in survreg with three factors

2011-05-06 Thread Pang Du
such that the contribution from C is 0. Unfortunately, this option is not available in survreg for some reason. Pang -Original Message- From: Andrew Robinson [mailto:a.robin...@ms.unimelb.edu.au] Sent: Thursday, May 05, 2011 7:55 PM To: Pang Du Cc: r-help@r-project.org Subject: Re: [R] two-way group

Re: [R] two-way group mean prediction in survreg with three factors

2011-05-05 Thread Pang Du
: Wednesday, May 04, 2011 10:13 PM To: Pang Du Cc: r-help@r-project.org Subject: Re: [R] two-way group mean prediction in survreg with three factors I hope not! Facetiousness aside, the model that you have fit contains C, and, indeed, an interaction between A and C. So, the effect of A upon the response

[R] two-way group mean prediction in survreg with three factors

2011-05-04 Thread Pang Du
group mean estimates, say estimated group mean for (A1, B1)-group? The sample group means don't incorporate censoring and thus may not be appropriate here. Pang Du Virginia Tech [[alternative HTML version deleted]] __ R-help@r-project.org