Displaying 1 result from an estimated 1 matches for "recentmi".
Did you mean:
recent
2009 Mar 06
0
impcat='tree'
...c and Design libraries and have used the following
code (as shown in the example provided in the referenced paper):
'%in%' <- function(a,b)match(a,b,nomatch=0)>0 # Define function for
easy determination of whether a value is in a list
levels(ekg)[levels(ekg)%in%c('oldMI','recentMI')] <- 'MI' # Combines
last 2 levels and uses a new name, MI
pf.coded <- 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 &l...