Learn R Programming

kml3d (version 0.7)

resizePartition: ~ Function: resizePartition ~

Description

Give a LongData and a Partition whose length fit with idAll, this function makes the Partition fit with idFewNA.

Usage

resizePartition(xLongData, yPartition)

Arguments

xLongData
[LongData]: longitudinal data
yPartition
[Partition]: partition of the longitudinal data (partition that needs to be resized).

Value

  • Object Partition.

Details

Give a LongData and a Partition whose length fit with idAll, this function makes the Partition fit with idFewNA by keeping only the value corresponding to individual present in idFewNA.