Learn R Programming

spheresmooth (version 0.1.3)

knots_quantile: Generate knots for the piecewise geodesic curve based on the quantiles

Description

This generates a sequence of knots for a given set of time points based on the quantiles.

Usage

knots_quantile(x, dimension, tiny = 1e-05)

Value

Numeric vector representing knots sequence in the time domain.

Arguments

x

Numeric vector representing time points for the geodesic path.

dimension

Numeric vector the number of knots.

tiny

Numeric value representing a small constant that slightly expands the boundary.

Examples

Run this code
knots_quantile(seq(0, 1, length.out = 100), 10)

Run the code above in your browser using DataLab