princurve_truncate: Remove the last few points from a principal curve.

Description Usage


The tricky part is the tag, which is not ordered the same way as the others. It's like the output of order(<positions along curve>) in that 'pc$s[pc$tag, ]' is smooth. Since it indexes 'pc$s', if I remove 'pc$s[45,]', need to make sure '!any(pc$tag==45)'.


princurve_truncate(pc, n_remove, ...)

ekernf01/branchmodel documentation built on Oct. 24, 2020, 8:56 a.m.