Description Usage Arguments Value Examples
Draws a terrace area plot for a persistence terrace.
1 | terracearea(xyz, dimension, maxheight = NULL)
|
xyz |
a list of computed persistence terraces returned by the function computept. |
dimension |
an integer selecting the dimension of the persistence terrace to plot the terrace area plot. |
maxheight |
an integer specifying the maximum heights to show. The default value is |
The function terracearea
returns the terrace area plot.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
# load three circle data
data(three_circle_dat)
# input variables
Xlim <- c(-4,12)
Ylim <- c(-4,9)
lim <- cbind(Xlim, Ylim)
by <- 0.1
spseq <- seq(0.01,1.5,length.out = 25)
# compute persistence terrace
threecirclept <- computept(three_circle_dat,sp=spseq,lim=lim,by=by)
# draw terrace area plot
terracearea(threecirclept,dimension=1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.