get.lam(x, s, tag, stretch = 2)
x
| a matrix of data points |
s
| a parametrized curve, represented by a polygon. |
tag
|
the order of the point in s . Default is the given
order.
|
stretch
| A stretch factor for the endpoints of the curve; a maximum of 2. it allows the curve to grow, if required, and helps avoid bunching at the end. |
x
, when
projected onto a curve s
. The curve need not be of the same
length as the number of points. If the points on the curve are not in
order, this order needs to be given as well, in tag
.s
|
The fitted points on the curve corresponding to each point
x .
|
tag
| the order of the fitted points |
lambda
| The projection index for each point |
dist
| The total squared distance from the curve |
principal.curve