Description Usage Arguments Details Value Author(s) References Examples
Create an appropriate grid of common time points based on the available time points from the curves.
1 | makeCommonTime(data, timeNr, plot = TRUE)
|
data |
Dataset in general format Format1 (see |
timeNr |
Number of time points. |
plot |
If |
The evaluation time points of all curves together are clustered and new time points are represented by the cluster centers.
A vector of new time points.
Christina Yassouridis
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
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.