plot_missings {TripleR} | R Documentation |
Plot missing values
Description
This function plots missing values in the round robin matrix for visual inspection.
Usage
plot_missings(formule, data, show.ids=TRUE)
Arguments
formule |
A formula specifying the variable names. Example usage: |
data |
The data frame |
show.ids |
Should the id's of the persons be printed on the axes? |
Examples
data(multiGroup)
m2 <- multiGroup
m2$ex[m2$perceiver.id==90201] <- NA
m2$ex[m2$perceiver.id>92001] <- NA
m2$ex[sample(nrow(m2), 1000)] <- NA
plot_missings(ex~perceiver.id*target.id|group.id, data=m2)
(RR1m <- RR(ex~perceiver.id*target.id|group.id, data=m2, na.rm=TRUE))
[Package TripleR version 1.5.4 Index]