estimate_gfr: Predict GFR.

View source: R/estimate_gfr.R

estimate_gfrR Documentation

Predict GFR.

Description

Predict GFR using CKD-EPI equation (for adults) or BSA-based equation (for children).

Usage

estimate_gfr(gfrtmp.dt, gfr_resid_var = TRUE, ckd_epi_race_coeff = FALSE)

Arguments

gfrtmp.dt

A data.table with columns gender, reth, age_years, age_months, BSA_adj, serum_creat.

gfr_resid_var

Logical value indicating whether or not to include residual variability when generating GFR values. (Default is TRUE.)

ckd_epi_race_coeff

Logical value indicating whether or not to use the "race coefficient" from the CKD-EPI equation when estimating GFR values. (Default is FALSE.)

Details

Add residual variability based on reported residuals for each equation.

Value

The same data.table with a gfr_est column added, containing estimated GFR values.

Author(s)

Caroline Ring

References

\insertRef

ring2017identifyinghttk


httk documentation built on Sept. 11, 2024, 9:32 p.m.