riskyr 0.4.0 was released on CRAN on August 15, 2022.
Changes since last release:
Major changes
-
Enable sampling when computing
freq
fromprob
(i.e., by description, givenN
and 3 essential probabilities) [2021-03]:-
add a
sample
argument tocomp_freq()
,comp_freq_prob()
, andriskyr()
; -
add a
sample
argument to 6 key plots:
plot_area()
,plot_bar()
,plot_fnet()
,plot_icons()
,plot_prism()
, andplot_tab()
.
-
-
Allow conversions/translations between data and descriptions [2021-03]:
-
write_popu()
creates population data from a description (ariskyr
scenario); -
read_popu()
creates a description (ariskyr
scenario) from population data.
-
-
Add a function for plotting cumulative risk curves [2021-12]:
-
plot_crisk()
plots curves and auxiliary information for visualizing cumulative risks and risk increments; -
pal_crisk
provides a corresponding color palette (as a named vector).
-
- Add
FFTrees_riskyr()
to convertFFTrees
objects into correspondingriskyr
objects [2022-08].
Minor changes
-
Add
main
andsub
arguments to all plots (and deprecate the previoustitle_lbl
argument) [2022-08]. -
Add
is_matrix()
to verify a 2x2 matrix (as a 2x2 numeric contingency table). -
Add
is_integer()
to verify integer values.
Micro changes
-
Fix bug in
plot_bar()
that caused incorrect bar labels [2022-08]. -
Update URLs in
README.md
and all vignettes to https://riskyr.org/ [2021-03]. -
Increase options and robustness for labeling frequencies and probabilities in plots [2021-03].
-
Reduce widths of freq boxes in
plot_prism()
to reduce overlaps [2021-03]. -
Rename labels in
txt_TF
to avoid confusion, as "True condition" (i.e., X) wasFALSE
(now "absent") for "True negatives" (TN
/cr
cases) [2021-03].
The current development version (0.4.0.9001+) is available at https://github.com/hneth/riskyr/.