Open bdwilliamson opened 1 year ago
Thanks for writing such a great package! I've used it to perform constrained randomization for several trials and it works very well.
I'm now using your package in some simulations, and was thrown off by the package hard-setting a seed (using
set.seed
) withincvrall
(the same is true incvrcov
). When I'm doing computations with further random number generation downstream of randomization, I'd like to not have a seed set. Is it possible to add an argument tocvrall
andcvrcov
that turns off seed-setting? Or to remove seed-setting from the functions entirely? (which would rely on the user setting their own seed outside the function)Thanks!
Hi, thanks for using the package and we are glad that the package is useful for your trials. The current functions for cvrall
and cvrcov
both only use seed
as an optional input. That is to say, you do not need to specify a seed for the two functions to run and can ignore the seed option. You can either:
{number}
) outside the function and use the seed number as an input by specifying seed = {number}
seed = {number}
Hope this helps your usage.
Thanks for writing such a great package! I've used it to perform constrained randomization for several trials and it works very well.
I'm now using your package in some simulations, and was thrown off by the package hard-setting a seed (using
set.seed
) withincvrall
(the same is true incvrcov
). When I'm doing computations with further random number generation downstream of randomization, I'd like to not have a seed set. Is it possible to add an argument tocvrall
andcvrcov
that turns off seed-setting? Or to remove seed-setting from the functions entirely? (which would rely on the user setting their own seed outside the function)Thanks!