# NOT RUN {
library(TDA)
xx = rbind(circleUnif(50, 1), circleUnif(50, 1.5) + 3)
Xlim = c(-1, 5); Ylim = c(-1, 5); by = 0.05
lim = cbind(Xlim, Ylim)
foo.flamelet = build.flamelet(X = xx, h.grid = seq(0.01, 1, length.out = 40),
base.type = "landscape", dimension = 1,base.param = 1, lim = lim, by = by,
tseq = seq(0, .75, length.out = 500))
flamelet.plot(foo.flamelet, scale.param = seq(0.01, 1, length.out = 40),
tseq = seq(0, .75, length.out = 500) )
foo.band = flamelet.band(X = xx, B = 10, alpha = 0.05,
tseq = seq(0, .75, length.out = 500), diag.fun = kde,
h.grid = seq(0.01, 1, length.out = 40), lim = lim, by = by)
flamelet.plot(foo.flamelet, scale.param = seq(0.01, 1, length.out = 40),
tseq = seq(0, .75, length.out = 500), band = foo.band)
# }
Run the code above in your browser using DataLab