jknowles / merTools

Convenience functions for working with merMod objects from lme4
104 stars 15 forks source link

update plotting functions #86

Closed alexWhitworth closed 6 years ago

alexWhitworth commented 6 years ago

Two changes (and associated tests)

  1. added a helper function in the plotting methods plotFEsim, plotREsim to enforce correct inputs
  2. added a facet option in plotREsim. I see you could "hack" to this solution previously as in your example (via (p2 <- plotREsim(REsim(fm1)[REsim(fm1)$term=="Days",]))). But this was not intuitive to me (and required understanding the output data structure of REsim, so I made what I think is more intuitive... although there are other options to simplify this with the same intent.
coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.5%) to 75.157% when pulling 390e959695d9b3813ad351aa149cd80178bfd99b on alexWhitworth:master into 11adab7da211b68cd8f33f046b1402a1d30fdcef on jknowles:master.

alexWhitworth commented 6 years ago

@jknowles do you plan to push to CRAN? I'm seeing v0.3.0 there vs v0.4.1 here.

jknowles commented 6 years ago

Yes, but not until I finish adding the most requested feature #73 and testing it -- hoping to push out over the winter break