Skip to content

Improved high level API functions

Compare
Choose a tag to compare
@alwinw alwinw released this 05 Jun 03:15
· 66 commits to master since this release
1cfcdb3

Improved high level API functions

Improvements

  • Wrote new combined eGFR() function that automatically selects the appropriate eGFR_method() formula to use
  • Wrote new combined aki() function that automatically calculates AKI based on all criteria and determines most severe stage
  • Added additional tests including warnings

Breaking Changes

  • Added No AKI and No Albuminuria to stages ordered factors to prevent users have to handle NAs mixed with ordered factors

Bug fixes

  • Fixed bug in eGFR_internal() where it was looking for !is.na(black) to select eGFR_adult_SCysC(), when black was not required

Documentation available at https://alwinw.github.io/epocakir/