Skip to content
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

Ideally we should vectorize RTS code #43

Open
danlwarren opened this issue Dec 7, 2017 · 2 comments
Open

Ideally we should vectorize RTS code #43

danlwarren opened this issue Dec 7, 2017 · 2 comments

Comments

@danlwarren
Copy link
Owner

And maybe add some data/predictor bootstrapping options too?

@rdinnager
Copy link
Collaborator

I would recommend using the pbapply package for this. It is lightweight (only a handful of functions), and implements a progress bar automatically. Plus if you pass a parallel cluster object to it then it does parallelization automatically (including with a progress bar!), so it would be easy to add parallel functionality later. I use it for almost everything now it is so handy. If you like I can have a crack at implementing it for RTS.

@danlwarren
Copy link
Owner Author

I don't know how I hadn't seen this before, but that sounds fantastic! That'd be good for a lot of the other tests too; many times we're doing hundreds of replicates, and it'd be nice to let people know where they are in the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants