utile.visuals 0.3.4
Fixes & Minor Changes
Removed the
broompackage from suggests.Removed the
extract.legend =argument from theappend_table()function. Legend extraction is now automatically performed if one is present.append_table()now vertically offsets the legend box instead of the legend itself. This fixes a spacing issue when multiple legends are present.
utile.visuals 0.3.3
CRAN release: 2023-01-24
New Features
-
panel_border()function introduced to replace axis lines with a bordered panel. Created for use with faceted plots, but can also be used standalone.
Fixes & Minor Changes
Added pkgdown site.
Tweaks to the justification of axis text and scaling of line widths in
theme_basic()&theme_risk().Theme facet label margins have been fixed and font size now matches that of axis titles.
Axis ticks in
theme_basic()now scale appropriately withbase_size.
utile.visuals 0.3.2
CRAN release: 2022-11-20
Fixes & Minor Changes
Support for
linewidthparameter introduced inggplot::version 0.3.4.theme_basic()now has more consistent legend title formatting.Fix for a class check error in
ggrisktable().
utile.visuals 0.3.1
CRAN release: 2022-02-14
Consolidation of themes into
theme_basic()andtheme_risk(). Line and text color can now be selected with thebase_colorparameter. Additionally, sizes of elements and text now scale correctly with the specifiedbase_sizeparameter.Fix for
survfit0class check issues inggrisktable().
utile.visuals 0.3.0
CRAN release: 2021-01-26
-
connect_origin()was removed as it redundantly replicated the function ofsurvival::survfit0(). Thanks for the tip, Beth!
utile.visuals 0.2.3
CRAN release: 2019-12-01
- Added parameter to
ggrisktable()to allow preemptive specification of text color.
utile.visuals 0.2.1
CRAN release: 2019-09-20
append_table(): Legend extraction can now be toggled with the newextract.legendoption. Extraction may not be a desired behavior if the legend is already embedded within plot area.-
- New option
strata.orderadded to allow reordering of strata in final table. - Now includes hard stops for invalid option data.
- New option
Added
connect_originfor connecting KM curves to a plot origin.
utile.visuals 0.2.0
CRAN release: 2019-07-11
Added
ggrisktable()for creating a ggplot2 risk table from a survival::survfit() model.Added
theme_risk_black()andtheme_risk_white()for risk table formatting.Added
append_table()for adding a ggplot2 risk table to a ggplot2 Kaplan Meier curve.theme_black()|theme_white(): Updated axis title formating.Updated documentation.