print.PHom | R Documentation |
Print a PHom object.
## S3 method for class 'PHom'
print(x, ...)
x |
object of class |
... |
other parameters; ignored |
# create circle dataset
angles <- runif(25, 0, 2 * pi)
circle <- cbind(cos(angles), sin(angles))
# calculate persistent homology
circle_phom <- vietoris_rips(circle)
# print persistence data
print(circle_phom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.