ccn {mice} | R Documentation |
Calculates the number of (in)complete cases
## S4 method for signature 'data.frame' ccn(x) ## S4 method for signature 'matrix' ccn(x) ## S4 method for signature 'mids' ccn(x) ## S4 method for signature 'data.frame' icn(x) ## S4 method for signature 'matrix' icn(x) ## S4 method for signature 'mids' icn(x)
x |
An |
An integer with the number of elements in x
with
(in)complete data.
Stef van Buuren, 2010.
ccn(nhanes) # 13 complete cases icn(nhanes) # the remaining 12 rows icn(nhanes[,c("bmi","hyp")]) # number of cases with incomplete bmi and hyp