function_mean_bayes {fdasrvf} | R Documentation |
Bayesian Karcher Mean Calculation
Description
This function calculates karcher mean of functions using Bayesian method
Usage
function_mean_bayes(f, time, times = 5, group = 1:dim(f)[2], showplot = TRUE)
Arguments
f |
matrix ( |
time |
sample points of functions |
times |
factor of length of subsample points to look at (default = 5) |
group |
(defaults |
showplot |
shows plots of functions (default = T) |
Value
Returns a list containing
distfamily |
dist matrix |
match.matrix |
matrix of warping functions |
position |
position |
mu_5 |
function mean |
rtmatrix |
rtmatrix |
sumdist |
sumdist |
qt.fitted |
aligned srsf functions |
estimator |
estimator |
estimator2 |
estimator2 |
regfuncs |
registered functions |
References
Cheng, W., Dryden, I. L., and Huang, X. (2016). Bayesian registration of functions and curves. Bayesian Analysis, 11(2), 447-475.
Examples
## Not run:
out <- function_mean_bayes(simu_data$f, simu_data$time)
## End(Not run)
[Package fdasrvf version 2.3.1 Index]