Closed gvegayon closed 1 month ago
This is ready for review, @kaitejohnson and @dylanhmorris. I changed my mind regarding the as.data.frame
method as I think (i) it is overkill and (ii) I doubt about its usefulness. LMK if you think we should still have that.
get_draws_df()
will now be a list of classwwinference_fit_draws
(S3 class).get_draws_df()
will be replaced byget_draws()
.what
that will receive the strings"all"
, and whatever other elements can be extracted viatidy_bayes::spread_draws()
.get_draws_df()
will still work but will be an alias toget_draws()
using the.Deprecated()
function call; this will throw a warning message to the users indicating the functionget_draws_df()
will be removed in the next version of the model.plot()
andprint()
, with theplot()
method having awhat=
argument that will specify which bits of the list to plot using the existing plotting functions.[ ]wwinference_fit_draws
will also have a methodas.data.frame()
to turn the list into a data frame.what="all"
.