[R] Sweave \Sexpr{} advice please

2009-05-10 Thread Kyle Matoba
Dear List, First off, my deepest gratitude to the Sweave developers: this tool has improved my quality greatly. A question in my work I use \Sexpr{} statements scalar values and the xtable package for all manner of tables. What I'd like to do is to use a vector inline, rather than a whole

[R] question about the tisPlot function in package tis

2008-12-02 Thread Kyle . Matoba
List, I am using the 'tisPlot' function in Jeff Hallman's excellent tis package and was hoping that someone could spare me from having to dig into the code of his 'tisPlot' function. So far as I can tell, the preferred method of controlling the plotting of the x-axis is using the 'xTickFreq'

[R] including Sweave tangled code in '.Rnw' document

2008-11-30 Thread Kyle Matoba
Hello List, I have been using Sweave for my homework this last quarter and have been very impressed at how much time and effort it saves me. I, however, have run up against a problem which I have not been able to solve using any of the Sweave/LaTeX tricks I know. I work through my homework one

[R] function for simultaneous confidence interval of regression coefficients

2008-11-30 Thread Kyle Matoba
List, Would someone be so kind as to point me to a function that will calculate simultaneous confidence intervals of regression coefficients based upon their distribution as (under the assumption of normal errors, with \mathbf{X} as the design matrix): $\hat{\mathbf{\beta}} \sim

Re: [R] including Sweave tangled code in '.Rnw' document

2008-11-30 Thread Kyle Matoba
the answers package. This is what I use to create assignments/exams/exercise sets with solutions all in one file. HTH Vincent --- Vincent Goulet, Associate Professor École d'actuariat Université Laval, Québec [EMAIL PROTECTED] http://vgoulet.act.ulaval.ca Le sam. 29 nov. à 14:11, Kyle

[R] declaring constants in an Sweave / LaTeX document

2008-11-22 Thread Kyle Matoba
List, I would like to set a variable to hold, say, the size of my plots in a Sweave document. i.e. something like the following in my '.Rnw' file: == smallPlotSize = 4 fig1, echo=false, results=hide,

[R] a question about diparate device quality

2008-10-10 Thread Kyle Matoba
List, I have a question about why plots sent to certain devices can be of so much worse quality than others. Whenever I plot to x11 or pdf the graphs are of excellent quality. eps is a bit poorer, but of passable quality, and jpeg or tiff are terrible. I tried all manner of parameters, on many

[R] multiple page pdf file using pdf()

2008-09-29 Thread Kyle Matoba
List, I am currently producing a series of charts using multiple calls to pdf() but, rather than having 'n' single plot files, would like them all to go into one 'n'-page pdf file. Would someone be so kind as to explain how, if at all, I might go about doing this from within R? I have only ever

Re: [R] multiple page pdf file using pdf()

2008-09-29 Thread Kyle Matoba
: Kyle Matoba wrote: List, I am currently producing a series of charts using multiple calls to pdf() but, rather than having 'n' single plot files, would like them all to go into one 'n'-page pdf file. Would someone be so kind as to explain how, if at all, I might go about doing

[R] rbinom not using probability of success right

2008-05-29 Thread Kyle Matoba
Message: 24 Date: Wed, 28 May 2008 05:53:26 -0700 (PDT) From: Philip Twumasi-Ankrah [EMAIL PROTECTED] Subject: [R] rbinom not using probability of success right To: r-help@r-project.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain I am trying to simulate a series of ones and zeros (1