ParKmlShape-class: ~ Class: "ParKmlShape" ~

Description Slots Methods Examples

Description

ParKmlShape is an object containing some parameter used by kmlShape.

Slots

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.

Methods

object['xxx']

Get the value of the field xxx.

Examples

1
2
3
parAlgo <- parKmlShape()
parAlgo["aggregationMethod"]
parAlgo["aggregationMethod"] <- "hierarchical"

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