seqQuickLook | R Documentation |
seqQuickLook.R
is a function aimed at providing an overview of the
number and size of the different types of gaps
spread in the original dataset OD
.
seqQuickLook(OD, np = 1, nf = 1)
OD |
either a data frame containing sequences of a multinomial variable with missing data (coded as |
np |
number of previous observations in the imputation model of the internal gaps. |
nf |
number of future observations in the imputation model of the internal gaps. |
It returns a data.frame
object that summarizes for each type of gaps
(Internal Gaps, Initial Gaps, Terminal Gaps, LEFT-
hand side SLG, RIGHT-hand side SLG, Both-hand side SLG),
the minimum length, the maximum length, the total number of gaps and
the total number of NAs induced.
Andre Berchtold <andre.berchtold@unil.ch>
data(OD)
seqQuickLook(OD = OD, np = 1, nf = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.