11# posterior 1.7.0
22
3+ ### Enhancements
4+
5+ * Add ` truncate ` argument to ` uniformity_test() ` to allow for custom truncation
6+
37### Bug Fixes
48
59* Fix several minor issues occurring in edge cases.
913* Extend and export several functions related to the generalized
1014Pareto distribution for use in other packages. (#408 )
1115* Support Pareto PIT functionality via ` pareto_pit ` . (#435 )
12- * Allow more warnings to be turned off via option
16+ * Allow more warnings to be turned off via option
1317` posterior.warn_on_merge_chains ` .
1418* Improve documentation in many places.
1519* Improve tests by checking for edge cases.
@@ -41,16 +45,16 @@ Pareto distribution for use in other packages. (#408)
4145 ` pareto_khat_threshold() ` , ` pareto_min_ss() ` , ` pareto_convergence_rate() ` )
4246* ` thin_draws() ` now automatically thins draws based on ESS by default,
4347 and non-integer thinning is possible.
44- * Matrix multiplication of ` rvar ` s can now be done with the base matrix
48+ * Matrix multiplication of ` rvar ` s can now be done with the base matrix
4549 multiplication operator (` %*% ` ) instead of ` %**% ` in R >= 4.3.
4650* ` variables() ` , ` variables<-() ` , ` set_variables() ` , and ` nvariables() ` now
4751 support a ` with_indices ` argument, which determines whether variable names
4852 are retrieved/set with (` "x[1]" ` , ` "x[2]" ` ...) or without (` "x" ` ) indices
4953 (#208 ).
5054* Add ` extract_variable_array() ` function to extract variables with indices
5155 into arrays of iterations x chains x any remaining dimensions (#340 ).
52- * For types that support ` factor ` variables (` draws_df ` , ` draws_list ` , and
53- ` draws_rvars ` ), ` extract_variable() ` and ` extract_variable_matrix() ` can
56+ * For types that support ` factor ` variables (` draws_df ` , ` draws_list ` , and
57+ ` draws_rvars ` ), ` extract_variable() ` and ` extract_variable_matrix() ` can
5458 now return ` factor ` s.
5559
5660# posterior 1.5.0
@@ -72,7 +76,7 @@ Pareto distribution for use in other packages. (#408)
7276### Bug Fixes
7377
7478* Ensure ` rfun() ` works with primitive functions (#290 ) and dots arguments (#291 ).
75- * Provide implementations of ` vctrs::vec_proxy_equal() ` ,
79+ * Provide implementations of ` vctrs::vec_proxy_equal() ` ,
7680` vctrs::vec_proxy_compare() ` , and ` vctrs::vec_proxy_order() ` .
7781* Minor future-proofing of ` cbind(<rvar>) ` , ` rbind(<rvar>) ` , and ` chol(<rvar>) `
7882 for R 4.4 (#304 ).
@@ -84,8 +88,8 @@ Pareto distribution for use in other packages. (#408)
8488
8589### Bug Fixes
8690
87- * Delay applying ` tibble::num() ` formatting to output from ` summarise_draws() `
88- until ` print() ` is called so that summary output can be easily converted to a
91+ * Delay applying ` tibble::num() ` formatting to output from ` summarise_draws() `
92+ until ` print() ` is called so that summary output can be easily converted to a
8993 vanilla data frame (#275 ).
9094
9195
@@ -99,18 +103,18 @@ Pareto distribution for use in other packages. (#408)
99103* The ` draws_df() ` , ` draws_list() ` , and ` draws_rvars() ` formats now support
100104 discrete variables stored as ` factors ` / ` ordered ` s (or ` rvar_factor ` s /
101105 ` rvar_ordered ` s). If converted to formats that do not support discrete
102- variables with named levels (` draws_matrix() ` and ` draws_array() ` ),
106+ variables with named levels (` draws_matrix() ` and ` draws_array() ` ),
103107 factor-like variables are converted to ` numeric ` s.
104108* Made ` match() ` and ` %in% ` generic and added support for ` rvar ` s to both
105109 functions.
106110* Added ` modal_category() ` , ` entropy() ` , and ` dissent() ` functions for
107111 summarizing discrete draws.
108- * Allow lists of draws objects to be passed as the first argument to
112+ * Allow lists of draws objects to be passed as the first argument to
109113 ` bind_draws() ` (#253 ).
110114* Improving formatting of ` summarise_draws ` output via ` tibble::num ` .
111115* ` print.rvar() ` and ` format.rvar() ` now default to a smaller number of
112116 significant digits in more cases, including when printing in data frames.
113- This is controlled by the new ` "posterior.digits" ` option (see
117+ This is controlled by the new ` "posterior.digits" ` option (see
114118 ` help("posterior-package") ` ).
115119* Implemented faster ` vec_proxy.rvar() ` and ` vec_restore.rvar() ` , improving
116120 performance of ` rvar ` s in ` tibble ` s (and elsewhere ` vctrs ` is used).
@@ -144,9 +148,9 @@ Pareto distribution for use in other packages. (#408)
144148* Support remaining modes of ` diag() ` for ` rvar ` s (#246 ).
145149* Better parsing for named indices in ` as_draws_rvars() ` , including nested use
146150of ` [ ` , like ` x[y[1],2] ` (#243 ).
147- * Allow 0-length ` rvar ` s with ` ndraws() > 1 ` (#242 ).
151+ * Allow 0-length ` rvar ` s with ` ndraws() > 1 ` (#242 ).
148152* Ensure 0-length ` rvar ` s can be cast to ` draws ` formats (#242 ).
149- * Don't treat length-1 ` rvar ` s with more than 1 dimension as scalars when
153+ * Don't treat length-1 ` rvar ` s with more than 1 dimension as scalars when
150154casting to other formats (#248 ).
151155
152156
@@ -173,9 +177,9 @@ casting to other formats (#248).
173177
174178### Bug Fixes
175179
176- * fix hidden variables in ` bind_draws.draws_df ` when binding
180+ * fix hidden variables in ` bind_draws.draws_df ` when binding
177181more than two objects thanks to Jouni Helske (#204 )
178- * fix output of ` pillar::glimpse() ` when used on a data frame containing
182+ * fix output of ` pillar::glimpse() ` when used on a data frame containing
179183` rvar ` s (#210 )
180184* drop ` "draws" ` and ` "draws_df" ` classes from ` draws_df ` objects if meta data
181185columns are removed by a ` dplyr ` operation (#202 )
@@ -187,7 +191,7 @@ columns are removed by a `dplyr` operation (#202)
187191
188192### Enhancements
189193
190- * use ` matrixStats ` to speed up convergence functions (#190 ) and
194+ * use ` matrixStats ` to speed up convergence functions (#190 ) and
191195` rvar ` summaries (#200 )
192196
193197### Bug Fixes
@@ -200,7 +204,7 @@ Karl Dunkle Werner and Alexey Stukalov (#188)
200204### Other Changes
201205
202206* No longer check for constant-per-chain input in effective
203- sample size diagnostics as this is overly conservative
207+ sample size diagnostics as this is overly conservative
204208especially for ` ess_tail ` . (#198 )
205209
206210
0 commit comments