Releases: metrumresearchgroup/pmplots
pmplots 0.5.1
Bugs fixed
eta_covariate()
now callseta_cont()
rather thaneta_cat()
when data for
the x-axis isinteger
, fixing an error that was generated frometa_cat()
,
which always expectsfactor
,character
, orlogical
; other internal
updates have been made to ensure consistent treatment ofinteger
data as
continuous rather than discrete (#104).
pmplots 0.5.0
-
Multiple
x
andy
can be now be passed as alist
in addition to
character vector (#95). -
Vectorized plots (returned as a list of plots) are now named according to the
x
ory
data column (#96). -
New function
rot_xy()
allows rotation of x- or y-axis tick labels forgg
objects,patchwork
objects, or lists ofgg
orpatchwork
objects; this
function usesrot_at()
for processing lists (#96). -
New function
rot_at()
allows rotation of x- or y-axis tick labels ofgg
orpatchwork
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 avertical
argument, similar to existing
argument inrot_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
-
y-axis for
cwres_q()
andnpde_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
-
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()
gainstag_levels
argument that gets passed to
patchwork::plot_annotation()
(#80).
pmplots 0.3.7
pmplots 0.3.6
- Update plotting code to work with new
ggplot2
behavior introduced
in version 3.4.0;pmplots
now depends onggplot2
version 3.4.0
or greater (#71).
pmplots 0.3.5
-
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
-
pm_grid()
now uses 'patchwork' to arrange plots; 'patchwork' becomes
a suggested package and 'cowplot' is dropped #49. -
scatt()
gainsalpha
argument with default provided bypm_opts$scatter.alpha
#42, #48. -
split_plot()
gainslabeller
argument which gets passed tofacet_wrap()
#43, #47. -
label_tex()
replaceslabel_parse_label()
for labeling facets via
latex2exp::TeX()
;label_parse_label()
remains as an alias #47. -
label_fun
argument for wrap plots is renamedlabeller
; 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
0.3.2
-
pairs_plot()
andeta_pairs()
now will properly call user-supplied
functions for creating panels on the upper and lower triangle
(#2) -
The upper panels in
pairs_plot()
andeta_pairs()
are not customizable
usingpm_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()
anddv_ipred()
gain an argument (logbr
) that lets the user
pick the interval for tick marks whenloglog
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)