Skip to content

princurve 2.1.0

Choose a tag to compare

@rcannood rcannood released this 13 Jul 20:52
8f46557
  • BUG FIX principal_curve(): avoid division by zero when the initial principal curve
    has already converged.

  • BUG FIX project_to_curve(): set dimension names of outputted s correctly.

  • DOCUMENTATION: Added cran-comments.md and revdep to repository.

  • MINOR CHANGE: Removed adjust_range(); use grDevices::extendrange() instead.

  • TESTING start_circle(): Added unit tests.

  • BUG FIX start_circle(): Make sure circle is centered and scaled correctly.

  • MINOR CHANGE: Move smoother functions from inside principal_curve() to
    a list smoother_functions.

  • TESTING smoother_functions: Added tests to ensure each of the smoother
    functions work correctly.

  • SPEED UP project_to_curve(): Significantly speed up this function by not
    allocation objects that don't need allocation, and pre-allocating objects
    that do.

  • SPEED UP principal_curve(): Added approx_points parameter. This allows
    approximation of the curve between smoothing and projection, to ensure
    principal_curve() scales well to higher numbers of samples.