Learn R Programming

longitudinalData (version 0.6.4)

longitudinalData-package: ~ Package overview: longitudinalData ~

Description

longitudinalData provide some tools to deal with the clusterization of longitudinal data.

Arguments

Overview

longitudinalData provide some tools to deal with the clusterization of longitudinal data, mainly:
  1. plot
  2. plotSubGroups
  3. imputation
  4. qualitycriterion

Author(s)

Christophe Genolini PSIGIAM: Paris Sud Innovation Group in Adolescent Mental Health INSERM U669 / Maison de Solenn / Paris Contact author :

Details

ll{ Package: longitudinalData Type: Package Version: 0.6.4 Date: 2010-03-18 License: GPL (>= 2) Lazyload: yes Depends: methods,clv URL: http://www.r-project.org }

See Also

Classes: LongData, Partition Methods: longData, as.longData, selectSupTrajMinSize, partition, ordered Plot: plot(LongData),plotSubGroups(LongData) Imputation: imputation Criterion: criterion

Examples

Run this code
### Generation of artificial longData
data <- gald(percentOfMissing=0.3)
part <- partition(rep(1:4,each=50),4)
plot(data,part)

### Two methods of imputation
par(mfrow=c(1,2))
data1 <- imputation(data,method="linearInterpolation",partition=part)
plot(data1,part,legend=FALSE)

data2 <- imputation(data,method="LOCF")
plot(data2,part,legend=FALSE)

Run the code above in your browser using DataLab