Register (align) functional data by detecting landmarks and warping curves so that the landmarks are mapped to common target positions.
Usage
landmark.register(
fdataobj,
kind = c("peak", "valley", "zero", "inflection"),
min.prominence = 0,
expected.count = 0
)Arguments
- fdataobj
An object of class 'fdata'.
- kind
Character: landmark type to detect. One of "peak", "valley", "zero", "inflection". Default is "peak".
- min.prominence
Minimum prominence for peak/valley detection. Default is 0.
- expected.count
Expected number of landmarks per curve. If 0 (default), uses the minimum number detected across all curves.