Skip to content

Commit 0392c74

Browse files
committed
up
1 parent 223e589 commit 0392c74

3 files changed

Lines changed: 68 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# DescriptiveRepresentationCalculator 1.1.1
2+
3+
## Bug Fixes
4+
5+
* Fixed undocumented parameter `b` in `RelativeRepresentation()` documentation that caused R CMD check warnings.
6+
7+
* Fixed division by zero error in `RelativeRepresentation()` when `standardize = TRUE` and the standard deviation equals zero. Now returns `NA` with a warning.
8+
9+
* Fixed README example that used invalid `PopShares` values summing to 4/3 instead of 1.
10+
11+
* Fixed vignette formula notation to correctly show `R = b + a * sum(...)` matching the actual implementation.
12+
13+
## New Features
14+
* Added input validation across all core functions:
15+
- `PopShares` must sum to 1 (within tolerance)
16+
- `PopShares` values must be non-negative
17+
- Empty body handling with informative warning
18+
- Warning when body members don't match any population group
19+
20+
## Documentation
21+
22+
* Added comprehensive documentation for `RelativeRepresentation()` to the package vignette, including examples and interpretation guidance.
23+
24+
* Updated vignette to document all four main package functions consistently.
25+
26+
# DescriptiveRepresentationCalculator 1.1.0
27+
28+
* Initial CRAN release.

DescriptiveRepresentationCalculator/man/checkUnmatchedBodyMembers.Rd

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DescriptiveRepresentationCalculator/man/validatePopShares.Rd

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)