tail.PHom: Last Part of PHom Object

View source: R/PHom.R

tail.PHomR Documentation

Last Part of PHom Object

Description

Returns the last part of a PHom instance.

Usage

## S3 method for class 'PHom'
tail(x, ...)

Arguments

x

object of class PHom

...

other parameters

Examples

# create sample persistence data
df <- data.frame(dimension = c(0, 0, 1, 1, 1, 2),
                 birth = rnorm(6),
                 death = rnorm(6, mean = 15))
df_phom <- as.PHom(df)

# look at first 3 features
head(df_phom)

# look at last 3 features
tail(df_phom)

rrrlw/ripserr documentation built on July 12, 2022, 11:13 a.m.