1 | DSCDD_GromovHausdorff(m = 2, d = 1, window.length = 800, landmarking = c("none", "random", "kmeans"), landmarks.num = window.length/10)
|
m |
|
d |
|
window.length |
|
landmarking |
|
landmarks.num |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (m = 2, d = 1, window.length = 800, landmarking = c("none",
"random", "kmeans"), landmarks.num = window.length/10)
{
gromovHausdorff <- gromovHausdorff$new(m = m, d = d, window.length = window.length,
landmarking = landmarking, landmarks.num = landmarks.num)
description <- "Gromov-Hausdorff distance"
l <- list(description = description, RObj = gromovHausdorff)
class(l) <- c("DSCDD_GromovHausdorff", "DSCDD_R", "DSCDD")
l
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.