search for: impcat

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

Did you mean: impact
2009 Mar 06
0
impcat='tree'
...ded <- as.integer(pf) # Save original pf, re-code to 1-4 levels(pf) <- c(levels(pf)[1:3],levels(pf)[3]) # Combine last 2 levels of original This is where I have the problem. I am writing an imputation rule: w <- transcan(~sz+sg+ap+sbp+dbp+age+wt+hg+ekg+pf+bm+hx,imputed=TRUE,data=prostate,impcat='tree') However I get the following error message(s) Convergence criterion:1.511 0.787 0.41 0.215 0.115 0.062 Error: could not find function "tree" In addition: Warning messages: 1: In approx(y, x, xout = aty, rule = rule) : collapsing to unique 'x' values 2: In approx(...