parKmlShape: ~ Function: parKmlShape ~

Description Usage Arguments Details Value Examples

Description

parKmlShape is a constructor for the object ParKml.

Usage

1
2
parKmlShape(aggregationMethod="all", shuffle=TRUE, sampleSize=128,
   methodHclust="average", maxIter=100)

Arguments

aggregationMethod

[character]: define the aglomerative method used to compute the mean. Three methods are curently available: "all", "sample" and "hierarchical". See meanFrechet and [1] for details.

shuffle

[logical]: if the agglomerationMethod is "all" or "sample", this variable is use to decide if the trajectories will be agglomerate in a random order (shuffle=TRUE) or not. If not, the lexical order based on the individual identifiant is used.

sampleSize

[integer]: Define the number of trajectories that will be use to compute the meanFrechet when the aggregationMethod is "sample".

methodHclust

[character]: define the distance between two clusters used by the hierarchical clustering when the aggregationMethod is "hierarchical". The methods available are the one for hclust

maxIter

[numeric]: the maximum number of iteration allowed.

Details

parKmlShape is the constructor of object ParKml.

Value

An object ParKmlShape.

Examples

1
2
parKmlShape()
parKmlShape(aggregationMethod="hierarchical",methodHclust="single")

Example output

Loading required package: class
Loading required package: longitudinalData
Loading required package: clv
Loading required package: cluster
Loading required package: rgl
Loading required package: misc3d
Loading required package: kml
Loading required package: lattice

Attaching package:kmlShapeThe following object is masked frompackage:longitudinalData:

    distFrechet

Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'. 
3: no DISPLAY variable so Tk is not available 
   ~~~ Class: ParKmlShape ~~~ 
 ~ aggregationMethod :  all
 ~ shuffle :  TRUE
 ~ sampleSize :  128
 ~ methodHclust :  average
 ~ maxIter :  100
   ~~~ Class: ParKmlShape ~~~ 
 ~ aggregationMethod :  hierarchical
 ~ shuffle :  TRUE
 ~ sampleSize :  128
 ~ methodHclust :  single
 ~ maxIter :  100

kmlShape documentation built on May 1, 2019, 7:50 p.m.