extension: Generate and validate an extension vector for landmark...

Description Usage Arguments Details

View source: R/extension.r

Description

This is a convenience function, modeled after ggplot2::expansion(), for generating extension vectors for the extend_* parameters of landmarks_maxmin() and landmarks_lastfirst().

Usage

1
extension(mult = 0, add = 0)

Arguments

mult

multiplicative extension factor; added to 1 and multiplied by the parameter.

add

additive extension factor; added to parameter after multiplication.

Details

The parameter num is extended to num * (1 + extend_num[[1L]]) + extend_num[[2L]], and other parameters are extended analogously.

These extensions are used to generate covers whose sets are more numerous or larger than strictly necessary to cover the finite metric space. When performing topological analysis, e.g. constructing a nerve complex, redundant overlap may be necessary to capture essential features of the data.


corybrunson/maxmin documentation built on Feb. 3, 2022, 1:58 a.m.