Re: [Rd] Problem with anova and the new abbreviation restrictions

2013-07-01 Thread Peter Meilstrup
On Mon, Jul 1, 2013 at 1:51 PM, Terry Therneau wrote: > > afit <- anova(lm(conc ~ uptake, CO2)) > > afit$P > [1] 2.905607e-06 NA > Warning message: > In `$.data.frame`(afit, P) : Name partially matched in data frame > > afit$Pr(>F) > Error: unexpected '>' in "afit$Pr(>" > > The second i

Re: [Rd] Problem with anova and the new abbreviation restrictions

2013-07-01 Thread Hadley Wickham
On Mon, Jul 1, 2013 at 3:51 PM, Terry Therneau wrote: > An unwanted side effect of the new restrictions on abrreviated names. > > The anova.coxph command, in a slavish copy of anova.lm etc, returns a data > frame with column labels of > loglik Chisq Df Pr(>|Chi|) > > If one tries to extract

[Rd] Problem with anova and the new abbreviation restrictions

2013-07-01 Thread Terry Therneau
An unwanted side effect of the new restrictions on abrreviated names. The anova.coxph command, in a slavish copy of anova.lm etc, returns a data frame with column labels of loglik Chisq Df Pr(>|Chi|) If one tries to extract the final column of the table errors result since it is not a