traitecoevo / sizedist

Other
4 stars 1 forks source link

Model2b #8

Closed charliehinchliffe closed 1 year ago

charliehinchliffe commented 1 year ago

I've added model2a & model2b. Both are working, and have examples in the getting started vignette. Passes tests locally on my computer using check().

codecov-commenter commented 1 year ago

Codecov Report

Base: 78.81% // Head: 79.21% // Increases project coverage by +0.39% :tada:

Coverage data is based on head (0592dd8) compared to base (5826941). Patch coverage: 81.56% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #8 +/- ## =========================================== + Coverage 78.81% 79.21% +0.39% =========================================== Files 18 25 +7 Lines 1454 2348 +894 =========================================== + Hits 1146 1860 +714 - Misses 308 488 +180 ``` | [Impacted Files](https://codecov.io/gh/traitecoevo/sizedist/pull/8?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo) | Coverage Δ | | |---|---|---| | [R/simulate\_population.R](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-Ui9zaW11bGF0ZV9wb3B1bGF0aW9uLlI=) | `80.35% <66.66%> (-1.65%)` | :arrow_down: | | [src/stanExports\_model1e.h](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-c3JjL3N0YW5FeHBvcnRzX21vZGVsMWUuaA==) | `77.33% <77.33%> (ø)` | | | [R/model2.R](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-Ui9tb2RlbDIuUg==) | `83.33% <83.33%> (ø)` | | | [R/add\_pars.R](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-Ui9hZGRfcGFycy5S) | `92.30% <100.00%> (+1.00%)` | :arrow_up: | | [R/default\_priors.R](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-Ui9kZWZhdWx0X3ByaW9ycy5S) | `100.00% <100.00%> (ø)` | | | [R/fit\_sizedist.R](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-Ui9maXRfc2l6ZWRpc3QuUg==) | `94.11% <100.00%> (+1.26%)` | :arrow_up: | | [R/model1.R](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-Ui9tb2RlbDEuUg==) | `83.33% <100.00%> (ø)` | | | [src/stanExports\_model1e.cc](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-c3JjL3N0YW5FeHBvcnRzX21vZGVsMWUuY2M=) | `100.00% <100.00%> (ø)` | | | [src/stanExports\_model2b.h](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-c3JjL3N0YW5FeHBvcnRzX21vZGVsMmIuaA==) | `78.16% <0.00%> (ø)` | | | [src/stanExports\_model2a.cc](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo#diff-c3JjL3N0YW5FeHBvcnRzX21vZGVsMmEuY2M=) | `100.00% <0.00%> (ø)` | | | ... and [6 more](https://codecov.io/gh/traitecoevo/sizedist/pull/8/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=traitecoevo)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.