predict_warps: Evaluated warp functions

View source: R/postanalysis.R

predict_warpsR Documentation

Evaluated warp functions

Description

Returns and (optionally) plots predicted warps.

Usage

predict_warps(w, warp_fct, seq.length = 101, plot = TRUE, tout, ...)

Arguments

w

warp values

seq.length

number of time points used in the evaluation.

plot

Plot the result? Uses matplot.

tout

Evaluation points. If missing, equidistant evaluation on [0,1] according to seq.length is used in the evaluation

...

arguments to be passed to matplot

Value

A matrix of dim seq.length x n

Examples

 


tw <- c(0.25, 0.5, 0.75)
wf <- <- make_warp_fct(type="smooth", tw=tw)

<run estimation on data set and return object res>

predict_warps(res$w, wf, plot = T, type="l", main = "Predicted warp functions")




naolsen/simm.fda documentation built on June 28, 2022, 2:41 a.m.