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

Ring, Caroline L., et al. "Identifying populations sensitive to environmental chemicals by simulating toxicokinetic variability." Environment International 106 (2017): 105-118


httk documentation built on March 7, 2023, 7:26 p.m.