Description Usage Arguments Details Value Author(s) See Also Examples
The is.mimids()
function checks whether class of objects are mimids
or not.
1 | is.mimids(object)
|
object |
This argument specifies the object that should be checked to see if is of the |
The class of objects are checked to be of the mimids
.
This function returns a logical value indicating whether object
is of the mimids
class.
Farhad Pishgar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #Loading the 'dt.osa' dataset
data(dt.osa)
#Imputing missing data points in the'dt.osa' dataset
datasets <- mice(dt.osa, m = 5, maxit = 1,
method = c("", "", "mean", "", "polyreg", "logreg", "logreg"))
#Matching the imputed datasets, 'datasets'
matcheddatasets <- matchitmice(KOA ~ SEX + AGE + SMK, datasets,
approach = 'within', method = 'exact')
#Checking the 'matcheddatasets' object
is.mimids(matcheddatasets)
is(matcheddatasets)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.