diff --git a/.Rbuildignore b/.Rbuildignore index 009dd08f..32f0ecad 100755 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -34,3 +34,4 @@ ^vignettes/models$ ^README_models$ ^\.github$ +^CRAN-SUBMISSION$ diff --git a/DESCRIPTION b/DESCRIPTION index b9ba50a8..f15fa76a 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: tidybayes Title: Tidy Data and 'Geoms' for Bayesian Models Version: 3.0.2 -Date: 2021-12-30 +Date: 2022-01-03 Authors@R: c( person("Matthew", "Kay", role = c("aut", "cre"), email = "mjskay@northwestern.edu"), person("Timothy", "Mastny", role = "ctb", email = "tim.mastny@gmail.com") diff --git a/docs/extra.css b/docs/extra.css index 16eaedae..9c6ba5ec 100755 --- a/docs/extra.css +++ b/docs/extra.css @@ -27,6 +27,10 @@ h1 small, .h1 small { letter-spacing: 0.5px; } +h2 small { + margin-left: 1ex; +} + img#tidybayes_logo { width: 80px; margin-top: -26px; diff --git a/docs/news/index.html b/docs/news/index.html index b1cc2d94..a563cf33 100755 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -76,10 +76,11 @@
stat_...
and stat_dist_...
)@examplesIf
for conditional examples (#294)compose_data()
are overwritten by generated names (#295)add_fitted_draws()
and fitted_draws()
are now deprecated, along with the scale
argument. Several years’ teaching experience has demonstrated that “fitted” is a very confusing name for students. Use the more-specific [add_
]linpred_draws()
if you want draws from the linear predictor or the new [add_
]epred_draws()
if you want draws from the expectation of the posterior predictive (which is what fitted_draws()
was most typically used for).
value
, but retain function-specific default column names. E.g. the prediction
argument for predicted_draws()
is now spelled value
but has a default of ".prediction"
. One breaking change is that the default output column for linpred_draws()
is now ".linpred"
instead of ".value"
. This should make it easier to combine outputs across multiple functions while also making it easier to remember the name of the argument that changes the output column name.n
argument is now spelled ndraws
to be more consistent with terminology in the posterior
package and to prevent partial argument name matching bugs with newdata
.object
instead of model
, in order to match with argument names in posterior_predict()
, etc. This was necessary to prevent partial argument name matching bugs with certain model types in rstanarm
that have an m
argument to their prediction functions.object
instead of model
, in order to match with argument names in posterior_predict()
, etc. This was necessary to prevent partial argument name matching bugs with certain model types in rstanarm
that have an m
argument to their prediction functions.New features:
posterior
package:
@@ -106,7 +107,7 @@ compare_levels()
now supports data frames of posterior::rvar()
s.epred_draws()
, linpred_draws()
, and predicted_draws()
functions should now support any models that implement posterior_epred()
, posterior_linpred()
, and posterior_predict()
so long as they take a newdata
argument.epred_draws()
, linpred_draws()
, and predicted_draws()
functions should now support any models that implement posterior_epred()
, posterior_linpred()
, and posterior_predict()
so long as they take a newdata
argument.forcats
, plyr
, and purrr
.seed
when subsampling to several functions (#276).New documentation:
diff --git a/pkgdown/extra.css b/pkgdown/extra.css index 16eaedae..9c6ba5ec 100755 --- a/pkgdown/extra.css +++ b/pkgdown/extra.css @@ -27,6 +27,10 @@ h1 small, .h1 small { letter-spacing: 0.5px; } +h2 small { + margin-left: 1ex; +} + img#tidybayes_logo { width: 80px; margin-top: -26px;