Re: [R] Add Significance Codes to Data Frame

2010-07-14 Thread Marc Schwartz
On Jul 14, 2010, at 2:16 PM, darckeen wrote: > > I was hoping that there might be some way to attach significance code like > the ones from summary.lm to a dataframe. Anyone know how to do something > like that. Here is the function i'd like to add that functionality to: > > > add1.coef <- fu

[R] Add Significance Codes to Data Frame

2010-07-14 Thread darckeen
I was hoping that there might be some way to attach significance code like the ones from summary.lm to a dataframe. Anyone know how to do something like that. Here is the function i'd like to add that functionality to: add1.coef <- function(model,scope,test="F",p.value=1,order.by.p=FALSE) {