two_circle_density_dat: Point cloud of two circles of same size but different point...

Description Usage Format Examples

Description

A dataset containing 500 randomly generated points: 100 points from low point density circle and 400 from high point density circle.

Usage

1

Format

A matrix of 500 rows and 2 columns

Examples

 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)

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