Re: [R] Remove part of a summary of a model in a regression output

2014-04-01 Thread arun
Hi, You could extract the part you wanted by: indx <- grepl("as.factor",names(mod1$coefficients))  coef(summary(mod1))[!indx,] A.K. On Tuesday, April 1, 2014 1:03 PM, Kumsa wrote: I would like to drop the out put part of the output that begins with "as.factor(stratadow) in the summary of a mo

[R] Remove part of a summary of a model in a regression output

2014-04-01 Thread Kumsa
I would like to drop the out put part of the output that begins with "as.factor(stratadow) in the summary of a model shown below.How can I accomplish this task? Thanks summary(mod1) Family: poisson Link function: log Formula: death ~ hw + temp + as.factor(stratadow) Parametric coefficients: