View source: R/function_mean_bayes.R
| function_mean_bayes | R Documentation | 
This function calculates karcher mean of functions using Bayesian method
function_mean_bayes(f, time, times = 5, group = 1:dim(f)[2], showplot = TRUE)
| 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) | 
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 | 
Cheng, W., Dryden, I. L., and Huang, X. (2016). Bayesian registration of functions and curves. Bayesian Analysis, 11(2), 447-475.
## Not run: 
  out <- function_mean_bayes(simu_data$f, simu_data$time)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.