Re: [R] Format regression result summary

2008-04-15 Thread Paul Johnson
On Fri, Apr 11, 2008 at 11:05 AM, Thiemo Fetzer <[EMAIL PROTECTED]> wrote: > Hello to the whole group. > > I am a newbie to R, but I got my way through and think it is a lot easier to > handle than other software packages (far less clicks necessary). > [snip] > However, my wish is the output to

Re: [R] Format regression result summary

2008-04-15 Thread bartjoosen
This should be refined, but it gives you a start: .dat<- summary(mod)$coefficients namen <- row.names(.dat) Est <- .dat[,1] Err <- .dat[,2] p <- .dat[,4] p[p<0.0001] <- "***" p[p<0.001] <- "**" p[p<0.01] <- "*" p[p<0.05] <- "." p[p>0.05] <-" " cat(paste(namen,"\t", Est, p, "\n\t\t(",Err,")\n"))

Re: [R] Format regression result summary

2008-04-14 Thread Tom Chr Backer Johnsen
Thiemo Fetzer wrote: As a general rule and practical in many contexts uses the following steps: (a) Use the R2HTML library to write the results from the summary to the clipboard (b) Open a spreadsheet and paste the results there. (c) Edit and shove things around until everything are where you w

Re: [R] Format regression result summary

2008-04-11 Thread Chuck Cleland
On 4/11/2008 12:05 PM, Thiemo Fetzer wrote: > Hello to the whole group. > > I am a newbie to R, but I got my way through and think it is a lot easier to > handle than other software packages (far less clicks necessary). > > However, I have a problem with respect to the summary of regression resul

[R] Format regression result summary

2008-04-11 Thread Thiemo Fetzer
Hello to the whole group. I am a newbie to R, but I got my way through and think it is a lot easier to handle than other software packages (far less clicks necessary). However, I have a problem with respect to the summary of regression results. The summary function gives sth like: Residuals: