View source: R/score_calculator.R
| mkfun_sex_age | R Documentation |
Constructs a closure that returns interpolated values based on sex and age. Internally selects from precomputed interpolation functions.
mkfun_sex_age(vname, param)
vname |
Character. Variable name (e.g., "bmi", "waist"). |
param |
Character. Distribution parameter (e.g., "mu", "sigma"). |
A function with signature '(sex, age)' returning interpolated values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.