Evaluate a curve on a grid
Usage
get_evals(curve, t_grid = NULL, ...)
# S3 method for data.frame
get_evals(curve, t_grid = NULL, ...)
# S3 method for elastic_shape_mean
get_evals(curve, t_grid = NULL, centering = TRUE, srv = FALSE, ...)
Arguments
- curve
a one parameter function which is to be evaluated on a grid
- t_grid
the curve is evaluated at the values in t_grid, first value needs to be 0, last value needs to be 1. If t_grid = NULL, a default regular grid with grid length 0.01 is chosen
- ...
other arguments
- centering
TRUE if curves shall be centered
- srv
TRUE if SRV curve shall be evaluated
See also
See get_evals
for the original code.