[R] apsrtable package notes no longer working?
ligges at statistik.tu-dortmund.de
Sun Jul 17 16:02:52 CEST 2011
On 13.07.2011 23:00, Joshua Gubler wrote:
> Hi all,
> I have used the apsrtable package to generate tables (using LaTeX and Sweave) for quite some. However, suddenly the notes option in the package appears to have stopped working (or I am doing something wrong). So, when I try to run the following commands (in the R console):
>> model1.lm<- lm((1-schoolspend) ~ jadif)
>> model2.lm<- lm((1-nohousdisc) ~ jadif)
>> apsrtable(model1.lm,model2.lm,model.names=c("Sspend*","JADif"),digits=3, align="l",stars="default",order="lr",coef.rows=2,Sweave=TRUE,notes=list("*= reverse coded"))
Please ask the paclkage maintainer if this change of behaviour was
intended or not.
For the meantime, you can specify notes as functions, e.g. as in:
notes = list(function(...) "*= reverse coded")
> I get the following error:
> Error in FUN(X[[1L]], ...) :
> could not find function "*= reverse coded"
> The users manual for apsrtable says that character string notes as well as functions are acceptable, and I have always been able to add character string notes until this week, when this error began popping up. Any suggestions for how to solve this problem?
> Thanks in advance, and best wishes,
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help