search for: is_mal

Displaying 1 result from an estimated 1 matches for "is_mal".

Did you mean: is_male
2018 May 23
0
MICE passive imputation formula
...ot;weight", "length"), "BMI"] <- 0 imp <- mice(Data, method = meth, predictorMatrix = pred, maxit = 10, m = 5) But what If the formula for a variable is much more complicated, like with CKD-epi. The formula is: egfr_crea_ckdepi = function(creatinine, age, is_female, is_male) { if (length(creatinine) != length(age) || length(creatinine) != length(is_female) || length(creatinine) != length(is_black)) { stop("input vector lengths must match!") } a = ifelse(!is_black, ifelse(!is_female, 141, 144), ifelse(!is_female(163, 166))) b = ifel...