Giter VIP home page Giter VIP logo

Comments (7)

jgabry avatar jgabry commented on June 1, 2024

@paul-buerkner mind taking a look at the (very rough) drafts of the vignettes? In the MCMC vignette I added a mention of brms (line 38), but I use draws from rstanarm to demonstrate the bayesplot functionality. Maybe we could add an example using brms in the PPC vignette?

from bayesplot.

paul-buerkner avatar paul-buerkner commented on June 1, 2024

I will take a look and propose an example for the ppc vignette.

from bayesplot.

paul-buerkner avatar paul-buerkner commented on June 1, 2024

I think the vignette already look pretty solid at least from my perspective as the user gets a clear understanding of how to apply the bayesplot package. Should we add the missing paragraphs in the ppc vignette for the first release or just mention that this will come in the future?

After thinking about it a bit more, I don't think we should really add a brms example, since it requires compiling every model, which will almost certainly lead to problems when done in vignettes.
We could do two things though: (a) Also mention brms in the vignettes when mentioning rstanarm in the way you already did in the MCMC vignette and (b) Pointing to the pp_check method of brms as an example when disussing the pp_check generic.

from bayesplot.

paul-buerkner avatar paul-buerkner commented on June 1, 2024

I have read all the help pages. They are very detailed and thorough from my perspective. Most R packages never come close to this level of documentation. I have only a few minor comments:

bayesplot-convenience:

  • I see why you write "v" in code style within "value", but it doesn't look that good from my perspective.
  • the argument on is not clear just be reading its argument definition. You have to know to which functions it applies to make sense.

extractors:

  • Instead of (melt) you could write (see melt)

from bayesplot.

jgabry avatar jgabry commented on June 1, 2024

On Tuesday, September 6, 2016, Paul-Christian Bürkner <
[email protected]> wrote:

I think the vignette already look pretty solid at least from my
perspective as the user gets a clear understanding of how to apply the
bayesplot package. Should we add the missing paragraphs in the ppc
vignette for the first release or just mention that this will come in the
future?

I guess not a big deal if we don't get to it for the first release since
there are examples on the help pages, but in general I like treating these
releases as real software releases so it's a bit strange to have missing
paragraphs in any documentation. But it's certainly not a huge problem.

After thinking about it a bit more, I don't think we should really add a
brms example, since it requires compiling every model, which will
almost certainly lead to problems when done in vignettes.
We could do two things though: (a) Also mention brms in the vignettes
when mentioning rstanarm in the way you already did in the MCMC
vignette and (b) Pointing to the pp_check method of brms as an example
when disussing the pp_check generic.

Ok sounds good!

from bayesplot.

jgabry avatar jgabry commented on June 1, 2024

On Tuesday, September 6, 2016, Paul-Christian Bürkner <
[email protected]> wrote:

I have read all the help pages. They are very detailed and thorough from
my perspective.

Ok great, glad to hear that.

Most R packages never come close to this level of documentation.

Yeah, the documentation in R itself and also in the majority of contributed
packages is a disaster. I won't go on my full rant about this, just a minor
one. I think it's an embarrassment that everyone is pretty much aware of
this situation and it still doesn't change. There seems to be some sort of
tacit agreement that's it's not really such a big deal. I think it's a huge
deal, not only because of the lack of documentation (which is a big deal
itself) but also because, in my experience, poor quality of documentation
is associated with poor quality of code (carelessness in testing, brittle
functions that work well when used exactly as the author intended but fail
mysteriously when used in other seemingly allowed ways, etc.)

Anyway, I try write to documentation as, or even before, I write the
code. I find that writing thorough documentation forces me to
really understand what the code does and what it doesn't do, which, as I'm
sure you know, is usually less obvious than it sounds (especially with R).

I have only a few minor comments:

bayesplot-convenience:

  • I see why you write "v" in code style within "value", but it doesn't
    look that good from my perspective.
  • the argument on is not clear just be reading its argument
    definition. You have to know to which functions it applies to make sense.

extractors:

  • Instead of (melt) you could write (see melt)

Thanks, I'll take care of those.

from bayesplot.

jgabry avatar jgabry commented on June 1, 2024

Copying from above:

  • Also mention brms in the vignettes when mentioning rstanarm in the way you already did in the MCMC vignette and
  • Point to the pp_check method of brms as an example when discussing the pp_check generic.

from bayesplot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.