Closed jknowles closed 9 years ago
w00t!
On Sun, Sep 7, 2014 at 1:42 PM, Jared Knowles notifications@github.com wrote:
I added a tests file to test merMod objects. I also added some changes to the model.info for merMod objects to include some basic information about the group effects. I think this works pretty well for multiple effects at each level (slope and intercept) and multiple levels of effects. I haven't tested all edge cases, but take a look and see what you think.
I don't know how to improve the stars -- it seems to me like for now the best advice is to set lev=0 and then apsrtable works fine for merMod objects -- it just excludes the stars.
I also added a .gitignore file.
You can merge this Pull Request by running
git pull https://github.com/jknowles/apsrtable dev
Or view, comment on, or merge it at:
https://github.com/malecki/apsrtable/pull/2 Commit Summary
- add rms functions
- group effects for merMod
File Changes
- A .gitignore https://github.com/malecki/apsrtable/pull/2/files#diff-0 (3)
- A apsrtable.Rproj https://github.com/malecki/apsrtable/pull/2/files#diff-1 (19)
- M pkg/NAMESPACE https://github.com/malecki/apsrtable/pull/2/files#diff-2 (11)
- M pkg/R/customSummaries.R https://github.com/malecki/apsrtable/pull/2/files#diff-3 (20)
- M pkg/R/modelInfo.R https://github.com/malecki/apsrtable/pull/2/files#diff-4 (17)
- A pkg/tests/merMod.R https://github.com/malecki/apsrtable/pull/2/files#diff-5 (43)
Patch Links:
— Reply to this email directly or view it on GitHub https://github.com/malecki/apsrtable/pull/2.
I've added some additional commits here to fix it so that adding merMod functionality does not break standard lm functionality. I also added functionality for rms
objects and fixed an issue with sidewaystable where captions and labels were not being used.
awesome. will merge today (so one could install_github) … does it pass R CMD CHECK
?
On Sun, Oct 5, 2014 at 11:54 AM, Jared Knowles notifications@github.com wrote:
I've added some additional commits here to fix it so that adding merMod functionality does not break standard lm functionality. I also added functionality for rms objects and fixed an issue with sidewaystable where captions and labels were not being used.
— Reply to this email directly or view it on GitHub https://github.com/malecki/apsrtable/pull/2#issuecomment-57940526.
@jknowles when I try to run merMod.R
I get
Error in diff(sval) :
error in evaluating the argument 'x' in selecting a method for function 'diff': Error in svd(x, 0, 0) : a dimension is zero
@malecki svd
looks like that is an issue with lme4 and a model not running correctly. I'll look into it. merMod.R
is certainly not a good test suite -- more of a sandbox where I was messing around making sure I made the proper changes.
I am not sure how to work out a formal test for this, but I have been thinking about it.
I'll check if it passes R CMD CHECK later this week. I am using this to produce the tables for my dissertation and it just works so nicely. Happy to keep contributions coming.
I added a tests file to test
merMod
objects. I also added some changes to the model.info formerMod
objects to include some basic information about the group effects. I think this works pretty well for multiple effects at each level (slope and intercept) and multiple levels of effects. I haven't tested all edge cases, but take a look and see what you think.I don't know how to improve the
stars
-- it seems to me like for now the best advice is to setlev=0
and thenapsrtable
works fine formerMod
objects -- it just excludes the stars.I also added a .gitignore file.