terracearea: Draws a terrace area plot for a persistence terrace.

Description Usage Arguments Value Examples

Description

Draws a terrace area plot for a persistence terrace.

Usage

1
terracearea(xyz, dimension, maxheight = NULL)

Arguments

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 NULL.

Value

The function terracearea returns the terrace area plot.

Examples

 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)

pterrace documentation built on May 2, 2019, 10:08 a.m.