makeCommonTime: Create appropriate evaluation time points.

Description Usage Arguments Details Value Author(s) References Examples

Description

Create an appropriate grid of common time points based on the available time points from the curves.

Usage

1

Arguments

data

Dataset in general format Format1 (see funcit).

timeNr

Number of time points.

plot

If TRUE, original and new time points are plotted.

Details

The evaluation time points of all curves together are clustered and new time points are represented by the cluster centers.

Value

A vector of new time points.

Author(s)

Christina Yassouridis

References

Christina Yassouridis and Dominik Ernst and Friedrich Leisch. Generalization, Combination and Extension of Functional Clustering Algorithms: The R Package funcy. Journal of Statistical Software. 85 (9). 1–25. 2018

Examples

1
2
3
4
##sample an irregular dataset
set.seed(2804)
ds <- sampleFuncy(obsNr=100, k=4, timeNrMin=5, timeNrMax=10, reg=FALSE)
makeCommonTime(Data(ds), 10)

funcy documentation built on May 2, 2019, 9:22 a.m.

Related to makeCommonTime in funcy...