On 06/11/2012 17:54, Sarah Goslee wrote:
Thanks, Prof. Ripley.
Using deparse(b$formula, width.cutoff = options()$width) works as I'd
expected (full example below). So I can use that to write a custom
summary.gam(), though that still seems like a lot of work to get
summary(b) to follow the usual
Thanks, Prof. Ripley.
Using deparse(b$formula, width.cutoff = options()$width) works as I'd
expected (full example below). So I can use that to write a custom
summary.gam(), though that still seems like a lot of work to get
summary(b) to follow the usual R output conventions.
Sarah
library(mgcv)
On 06/11/2012 17:01, Sarah Goslee wrote:
Hi all,
I'm working with summary.gam() and noticed that the options()$width
argument is ignored by some components of that function, in particular
the formula, which is printed at an arbitrary length regardless of the
desired width.
I've tracked the prob
Hi all,
I'm working with summary.gam() and noticed that the options()$width
argument is ignored by some components of that function, in particular
the formula, which is printed at an arbitrary length regardless of the
desired width.
I've tracked the problem back to print.formula(), so at a lower
4 matches
Mail list logo