addcluster {seqimpute} | R Documentation |
Function that adds the clustering result to a seqimp
object
obtained with the seqimpute
function
Description
Function that adds the clustering result to a seqimp
object
obtained with the seqimpute
function
Usage
addcluster(impdata, clustering)
Arguments
impdata |
An object of class |
clustering |
clustering made on the multiple imputed dataset. Can either be a dataframe or a matrix, where each row correspond to an observation and each column to a multiple imputed dataset |
Value
Returns a seqimp
object containing the cluster to which each
sequence in each imputed dataset belongs. Specifically, a column named
cluster is added to the imputed datasets.
[Package seqimpute version 2.0.0 Index]