panel_border()
function introduced to replace axis
lines with a bordered panel. Created for use with faceted plots, but can
also be used standalone.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
with base_size
.
Support for linewidth
parameter introduced in
ggplot::
version 0.3.4.
theme_basic()
now has more consistent legend title
formatting.
Fix for a class check error in
ggrisktable()
.
Consolidation of themes into theme_basic()
and
theme_risk()
. Line and text color can now be selected with
the base_color
parameter. Additionally, sizes of elements
and text now scale correctly with the specified base_size
parameter.
Fix for survfit0
class check issues in
ggrisktable()
.
connect_origin()
was removed as it redundantly
replicated the function of survival::survfit0()
. Thanks for
the tip, Beth!connect_origin()
now verifies whether a strata column
is present.ggrisktable()
to allow preemptive
specification of text color.theme_white()
.append_table()
: Legend extraction can now be toggled
with the new extract.legend
option. Extraction may not be a
desired behavior if the legend is already embedded within plot
area.
ggrisktable()
:
strata.order
added to allow reordering of
strata in final table.Added connect_origin
for connecting KM curves to a
plot origin.
Added ggrisktable()
for creating a ggplot2 risk
table from a survival::survfit() model.
Added theme_risk_black()
and
theme_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.