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

Speed up assign_trts() #45

Closed
emitanaka opened this issue Mar 21, 2022 · 1 comment
Closed

Speed up assign_trts() #45

emitanaka opened this issue Mar 21, 2022 · 1 comment

Comments

@emitanaka
Copy link
Owner

The design below takes about 13 minutes to run:

design("Mario's plant pathologist problem") %>% 
  set_units(rep = 3,
            col = 12, 
            row = 12, 
            # so 3 x 12 x 12 pots in total?
            pot = crossed_by(rep, col, row),
            # 4 varieties fit per pot so 4 units per pot?
            unit = nested_in(pot, 4)) %>% 
  set_trts(barley = 576) %>% 
  allot_table(barley ~ unit)
@emitanaka emitanaka changed the title Speed up allot_trts() Speed up assign_trts() Mar 21, 2022
@emitanaka
Copy link
Owner Author

Note: this took 1 hour for the specs shown below so it's unacceptably long for those with older computers.
unnamed

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

No branches or pull requests

1 participant