[R] Sweave and executive summaries - WORK AROUND

2009-04-20 Thread Karen_Byron
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Re: [R] Sweave and executive summaries

2009-04-15 Thread Dieter Menne
bd.com> writes: >I'm learning to use R/Sweave/LaTeK to write my stat reports. Is there a > way >to have an executive summary in the beginning while still having the >analysis code embedded? Thanks to Ulrich Dietz from the German latex forum, I have an excellent solution that

Re: [R] Sweave and executive summaries

2009-04-15 Thread Michael Kubovy
Hi Karen, Once you've run your .Rnw file once, and (say) assigned the output of a lm(y ~ x) to m1, you can add your summary at the beginning of your .Rnw file and output quantities such as the intercept (to be produced "later") using $\Sexpr{round(as.numeric(coef(m1)[1]), 3)}$ (it's a good

[R] Sweave and executive summaries

2009-04-15 Thread Karen_Byron
I'm learning to use R/Sweave/LaTeK to write my stat reports. Is there a way to have an executive summary in the beginning while still having the analysis code embedded? For example, a study has three independent objectives so I want my report to have three sections. Ideally the