Description Usage Format Examples
A dataset containing 500 randomly generated points: 100 points from low point density circle and 400 from high point density circle.
1 |
A matrix of 500 rows and 2 columns
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # load data
data(two_circle_density_dat)
# input variables
Xlim <- c(-3,6)
Ylim <- c(-3,3)
lim <- cbind(Xlim, Ylim)
by <- 0.1
spseq <- seq(0.01,1,length.out=20)
# compute persistence terrace
two_circle_density_pt <- computept(two_circle_density_dat,sp=spseq,lim=lim,by=by)
## Not run:
# compute persistence terrace with parallel option
two_circle_density_pt <- computept(two_circle_density_dat,sp=spseq,lim=lim,by=by,par=TRUE)
## End(Not run)
# draw persistence terrace, satellite view
plotpt(two_circle_density_pt,dimension=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.