Restaure NA in the user output that have been excluded when fitting the LMM.
restaureNA(object, index.na, level, cluster)
results when NA should be added to match the user input.
[integer vector] index of the missing values.
[character] Should missing observations, indicated by the argument index.na
, be restaured ("obs"
)
or should missing clusters, indicated by the discrepancy between the name of the object and the argument cluster
, be restaured ("cluster"
).
[list] list containing the number of cluster (n
), name of the clusters (levels
), and integer associated with each clusters (index
).