Learn R Programming

httk (version 1.6)

estimate_gfr: Predict GFR.

Description

First predict serum creatinine using smoothing spline, then predict GFR using CKD-EPI equation.

Usage

estimate_gfr(gfrtmp.dt)

Arguments

gfrtmp.dt

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

Value

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