Related to the pipeline of sample_design -> optimise_prevalence -> calculating pool_power or sample_size.
When an object of class sample_design has any NULL pool_size or pool_number, optimise_prevalence(x = sample_design, ...) needs to be run to infer them.
Method dispatches exist for sample_design and will only work when pool_size or pool_number are not NULL.
Method dispatches required for optimise_results in the case where sample_design have NULLs.
Related to the pipeline of
sample_design
->optimise_prevalence
-> calculatingpool_power
orsample_size
.When an object of class
sample_design
has any NULLpool_size
orpool_number
,optimise_prevalence(x = sample_design, ...)
needs to be run to infer them.Method dispatches exist for
sample_design
and will only work whenpool_size
orpool_number
are not NULL.Method dispatches required for
optimise_results
in the case wheresample_design
have NULLs.Steps to reproduce: