frechetMean {manifold}R Documentation

Calculate the Fréchet mean

Description

Calculate the Fréchet mean

Usage

frechetMean(mfd, X, ...)

## Default S3 method:
frechetMean(
  mfd,
  X,
  mu0,
  weight = NULL,
  tol = 1e-09,
  maxit = 1000,
  lam = 0.99,
  ...
)

Arguments

mfd

A manifold object created by createM

X

A matrix with each column being a point on the manifold.

...

Passed into specific methods

mu0

A matrix of starting points. Each column corresponds to a starting point. If there are multiple columns, then a multistart algorithm is used.

weight

A vector of weights for the observations

tol

The threshold for determining convergence

maxit

Maximum iteration

lam

The step length

Value

A matrix with 1 column containing the Fréchet mean

Methods (by class)


[Package manifold version 0.1.1 Index]