count_local_maximal: Count local maximal of a vector.

Description Usage Arguments Value See Also

Description

count_local_maximal supposes to take a persistent landscape. For parsistent landcape, the number of local maximal indicates the number of cycles.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
count_local_maximal(x, thresh = 0)

## Default S3 method:
count_local_maximal(x, thresh)

## S3 method for class 'pl'
count_local_maximal(x, thresh)

## S3 method for class 'pd'
count_local_maximal(x, thresh)

## S3 method for class 'smooth.spline'
count_local_maximal(x, thresh)

Arguments

x

a vector or a persistent landscape object inherits pl.

thresh

threshold to ignore local maximals under the value.

Value

the number of local maximal.

See Also

compute_pd()


hosscine/phacm documentation built on May 23, 2019, 1:46 p.m.