In many cases a flexible parametric fit, using regression splines, will
result in a fit that is as good as a gam, with similar regression shapes.
The rms package has a latex method that will represent such fits in
interpretable algebraic form. latex(fit) does that, and print(fit,
latex=TRUE) will
You may "build" your customized matrix merging the components of the objects
before calling the xtable function:
my.matrix <- rbind(model$coefficients, [vector containing errors])
xtable(my.matrix)
(I'm sorry I don't know exactly where the standard errors are stored / how
to compute them)
You can
Thanks!
Yes, that produces tables that are formatted in the same way as the gam
output. I'm hoping to have publication-ready tables that have standard
errors in parentheses listed below coefficients. Do you know of a method to
do that?
David
--
View this message in context:
http://r.789695.n4
Hi,
I usually use xtable package to generate LaTeX tables. It also works for
HTML format.
A reproducible example:
-
library(gam)
library(xtable)
model <- gam(Kyphosis ~ s(Age,4)
Hi -
I have a series of 9 GAM regressions with about 5 parametric effects and
three non-parametric effects in each.
What is a good library or command for turning GAM outputs into
publication-ready regression tables?
I tried apsrtable and the mtable command in memisc but neither seemed to
work
5 matches
Mail list logo