R: ~ Function: parKmlShape ~

parKmlShape {kmlShape} | R Documentation

## ~ Function: parKmlShape ~

### Description

`parKmlShape` is a constructor for the object `ParKml`.

### Usage

    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

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

[Package kmlShape version 0.9.5 Index]