I would like to know how I can convert this formula into SAS code? Thanks in advance
bio.cov <- bio.cov %>% mutate(female = ifelse(sex == 0, TRUE, FALSE),
kappa=ifelse(female, 61.9, 79.6),
alpha=ifelse(female,-0.329,-0.411),
srblack = ethnicity %in% c(4, 4001,4002,4003),
eGFR = 141 * pmin(creatinine/kappa, 1)^alpha *
pmax(creatinine/kappa, 1)^-1.209 *
0.993^age * ifelse(female, 1.018, 1) *
ifelse(srblack, 1.159, 1))