We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There should be a seed-argument for all functions involving randomness cf this question (and comment-answer) on StackOverflow: https://stackoverflow.com/questions/73416610/why-is-set-seed-not-working-for-mcp-r-package
Suggested behavior for mcp():
mcp()
mcp(..., seed = 42)
chains
mcp(..., seed = c(1,2,3))
length(seed) == length(chains)
mcp(..., seed = NULL)
tidy_samples(), fitted(), plot(), etc. should just accept an atomic numeric seed or NULL.
tidy_samples()
fitted()
plot()
seed
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There should be a seed-argument for all functions involving randomness cf this question (and comment-answer) on StackOverflow: https://stackoverflow.com/questions/73416610/why-is-set-seed-not-working-for-mcp-r-package
Suggested behavior for
mcp()
:mcp(..., seed = 42)
sets a seed before producingchains
"random" numbers, passing them as seeds to rjags chains.mcp(..., seed = c(1,2,3))
requireslength(seed) == length(chains)
and passes these seeds directly to rjags chains.mcp(..., seed = NULL)
(default) lets rjags set seeds for the chains.tidy_samples()
,fitted()
,plot()
, etc. should just accept an atomic numericseed
or NULL.The text was updated successfully, but these errors were encountered: