-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glossary of nouns and verbs for the package #5
Comments
Good idea, thanks! |
Some points to add to the discussion: (1) The name (2) We don't have to keep this format as the input format for the convergence diagnostic functions. Perhaps, this is a discussion for #2 (3) Likely, we are going to need four subsetting functions to subset (4) Shall we use singular (e.g., |
Why not |
I could vote for that. |
Me too! |
Which would be prefer? |
I'm ok with either. For most the formats |
I agree. Let's go for thin_draws then. |
I think this issue has done its job to foster discussion of basic naming conventions on which we seem to have agreed now. Further discussions about names of newly added functions should better go in new corresponding issues instead of being done here. |
Pinging off of @jgabry's comment in #1 I thought I'd open an issue to gather thoughts on names of basic concepts in the package. Since it's easy to change names (as long as we do it before an official release) I don't think we should wait on finalizing these before continuing to build stuff, but I wanted to make sure we keep track of what names we need to discuss.
I suggest we edit this first comment to keep track of naming decisions and use discussion on this issue to make those decisions. For now I've filled in what we seem to have so far, not to suggest that these are set in stone at all.
core nouns / concepts
chain
: chain indexiteration
: within-chain indexdraw
: unique index across all chainsvariable
: a single variable / parameter / etcdraws
: a collection of variables, chain and iteration info, and drawsverbs / operations
as_draws_{format}()
: convert draws to {format}subset_draws()
,subset()
: select a subset of variables/iterations/chains/drawsthin_draws()
: thin drawssummarise_draws()
,summarize_draws()
,summary()
: compute summary measures for each variableextract_variable_matrix()
: select a given variable and return its draws in a iterations x chains format; for use in convergence diagnostics and other summary measuresrepair_draws()
: repair indices (iterations, chains, draws) of draws objects to be consistent after subsetting or related operationsorder_draws()
: (re-)order draws objects after subsetting or related operationsbind_draws
: bind multiple draws objects togetherrename_variables()
: change names of variablesmutate_variables()
: transform variables and add them to the draws objectIf I've missed anything please edit this issue to add it.
The text was updated successfully, but these errors were encountered: