followx: Fit an individual branch of a local principal curve.

View source: R/followx.R

followxR Documentation

Fit an individual branch of a local principal curve.

Description

Internal function of package LPCM called by lpc. Do not use!

Usage

followx(Xi, x0, h, t0, iter, way, weights, pen = 2, 
    lasteigenvector = 0, rho0 = 0.4, boundary=0.005,
    convergence.at= 0.000001, cross=TRUE)

Arguments

Xi

data matrix

x0

branch starting point

h

bandwidth

t0

step length

iter

number of iterations (within the given curve branch)

way

possible values "one", "two", "back" (in which directions the curve should proceed)

weights

vector of weights

pen

power used for angle penalization

lasteigenvector

to be passed on from lpc

rho0

constant; see reference [1] in lpc.control.

boundary

boundary correction, see Einbeck and Zayed (2014)

convergence.at

convergence parameter

cross

Boolean; are curves allowed to cross?

Author(s)

JE

References

Einbeck, J., & Zayed, M. (2014). Some asymptotics for localized principal components and curves. Communications in Statistics - Theory and Methods, 43(8), 1736-1749. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/03610926.2012.673676")}

See Also

lpc


LPCM documentation built on Sept. 11, 2024, 7:53 p.m.