Skip to content

Releases: metrumresearchgroup/pmplots

pmplots 0.5.1

04 Oct 13:53
6da1633
Compare
Choose a tag to compare

Bugs fixed

  • eta_covariate() now calls eta_cont() rather than eta_cat() when data for
    the x-axis is integer, fixing an error that was generated from eta_cat(),
    which always expects factor, character, or logical; other internal
    updates have been made to ensure consistent treatment of integer data as
    continuous rather than discrete (#104).

pmplots_0.5.1.scorecard.pdf
pmplots_0.5.1.tar.gz

pmplots 0.5.0

22 Jul 15:04
f542795
Compare
Choose a tag to compare
  • Multiple x and y can be now be passed as a list in addition to
    character vector (#95).

  • Vectorized plots (returned as a list of plots) are now named according to the
    x or y data column (#96).

  • New function rot_xy() allows rotation of x- or y-axis tick labels for gg
    objects, patchwork objects, or lists of gg or patchwork objects; this
    function uses rot_at() for processing lists (#96).

  • New function rot_at() allows rotation of x- or y-axis tick labels of gg
    or patchwork objects or named lists of these objects; the list method
    allows rotation of specific plots in the list by matching the name exactly
    or through a regular expression (#96).

  • New function pm_with() allows arrangement of a named list of plots using
    patchwork syntax (#96).

  • rot_y() has been updated with a vertical argument, similar to existing
    argument in rot_x() (#96).

scores:
{
  "testing": {
    "check": 1,
    "covr": 0.859
  },
  "documentation": {
    "has_vignettes": 1,
    "has_website": 1,
    "has_news": 1
  },
  "maintenance": {
    "has_maintainer": 1,
    "news_current": 1
  },
  "transparency": {
    "has_source_control": 1,
    "has_bug_reports_url": 1
  }
}

pmplots 0.4.1

22 May 16:40
3739e7d
Compare
Choose a tag to compare
  • y-axis for cwres_q() and npde_q() changed to remove the word "distribution"
    (#92).

  • pmplots now depends on ggplot2 version 3.5.0 or greater (#86).

  • Axis titles for conditional weighted residuals are now abbreviated "CWRES" (#83).

Bugs fixed

  • Fixed a bug where the wrong y-axis title was getting used in cwres_covariate()
    (#89).

pmplots 0.4.0

07 Feb 19:32
38530f3
Compare
Choose a tag to compare
  • Add a series of functions for standardized, paneled displays (#77, #81).

    • eta_covariate() creates panel of ETA versus continuous or categorical
      covariates.
    • npde_covariate() creates panel of NPDE versus continuous or categorical
      covariates.
    • cwres_covariate() creates panel of CWRES versus continuous or categorical
      covariates.
    • cont_cat_panel() creates panel of continuous versus categorical covariates.
    • npde_panel() creates panel of NPDE-based diagnostics.
    • cwres_panel() creates panel of CWRES-based diagnostics.
    • npde_scatter() creates panel of NPDE-based scatter plots.
    • cwres_scatter() creates panel of CWRES-based scatter plots.
    • npde_hist_q() creates NPDE histogram and Q-Q plot in a panel.
    • cwres_hist_q() creates CWRES histogram and Q-Q plot in a panel.
    • Component plots can be returned in a list which can be arranged via
      with().
  • pm_grid() gains tag_levels argument that gets passed to
    patchwork::plot_annotation() (#80).

pmplots 0.3.7

14 Aug 15:58
a43543a
Compare
Choose a tag to compare

Bugs fixed

  • Fix bug where density line was not being drawn by default over npde and
    cwres histograms; the bug came about from incomplete transition to
    changes introduced in ggplot2 v3.4.0 (#74, #75).

pmplots 0.3.6

18 Jan 22:04
dbcb989
Compare
Choose a tag to compare
  • Update plotting code to work with new ggplot2 behavior introduced
    in version 3.4.0; pmplots now depends on ggplot2 version 3.4.0
    or greater (#71).

pmplots 0.3.5

16 May 13:54
1680759
Compare
Choose a tag to compare
  • Functions generating default axis titles now have arguments so that
    interpolated customizations can happen when calling the function outside
    of a plot context (#57).

  • dv_pred_ipred() heavily refactored for functionality and style; see the
    PR for significant changes / improvements (#54).

  • Put stories in yaml format; add script to build validation docs from the
    yaml file (#58, #59).

pmplots 0.3.4

17 Mar 16:00
2c457e3
Compare
Choose a tag to compare
  • pm_grid() now uses 'patchwork' to arrange plots; 'patchwork' becomes
    a suggested package and 'cowplot' is dropped #49.

  • scatt() gains alpha argument with default provided by pm_opts$scatter.alpha
    #42, #48.

  • split_plot() gains labeller argument which gets passed to facet_wrap()
    #43, #47.

  • label_tex() replaces label_parse_label() for labeling facets via
    latex2exp::TeX(); label_parse_label() remains as an alias #47.

  • label_fun argument for wrap plots is renamed labeller; applies to
    the following plots: wrap_cont_cont(), wrap_hist(), wrap_cont_cat(),
    and any plot built on these (see ?wrap_plots) #43, #47.

  • Fix bug where points overlaid on boxplots were jittered in both directions;
    jitter is now only in x-direction #45, #46.

release/0.3.3

11 Sep 14:21
cc4b4a7
Compare
Choose a tag to compare

pmplots 0.3.3

  • Add vignettes into package (#37)

  • Re-work README (#37)

0.3.2

22 Jul 21:14
17bda76
Compare
Choose a tag to compare
  • pairs_plot() and eta_pairs() now will properly call user-supplied
    functions for creating panels on the upper and lower triangle
    (#2)

  • The upper panels in pairs_plot() and eta_pairs() are not customizable
    using pm_opts() (#6)

  • The reference lines at -3 and 3 on the y-axis of npde plots are no longer
    drawn by default (#22)

  • dv_pred() and dv_ipred() gain an argument (logbr) that lets the user
    pick the interval for tick marks when loglog plots are drawn; options are:
    "full" (full log units - 10, 100 ,1000), "half" (half log units - 30, 100,
    300) or "null" (let ggplot decide); the default is now to show full log unit
    breaks rather than half log unit breaks (#21)

  • pairs_plot() gains an argument (lower_plot) which lets the user
    more easily customize the scatter plot that usually appears on the lower
    triangle (#26)

  • wrap_cont_cat() is a new wrap function that lets the user make
    faceted plots of continuous variables versus categorical variables;
    (#14)