AngusMcLure / PoolPoweR

Power and sample size calculations for surveys using pool testing (AKA group testing)
GNU General Public License v3.0
0 stars 1 forks source link

DEV: Add sample_design class and re-implement design_effect #42

Closed fredjaya closed 3 months ago

fredjaya commented 3 months ago

Part of #40

Adds two sample_design classes, fixed_design and variable_design to:

Changes the design_effect implementation:

Adds check_input2.R:

Added and updated tests and documentation for sample_design and `design_effect

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.37%. Comparing base (7ab5a24) to head (0e43edf).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #42 +/- ## ========================================== + Coverage 89.58% 90.37% +0.78% ========================================== Files 12 14 +2 Lines 989 1018 +29 ========================================== + Hits 886 920 +34 + Misses 103 98 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.