% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/TrajectoryGeometry.R
\title{Produce distance statistics for random paths}
getDistanceDataForPaths(paths, statistic)
\item{paths}{- A list of paths.  Each of these is an n x d matrix.}

\item{statistic}{- Allowable values are 'median', 'mean' or 'max'.}
This returns a vector of n distances.
This function takes a list of paths and a choice of
statistic (median, mean or max) and returns that statistic
for the appropriate center for each path.  Each path
is an n x d matrix.  In use, it is assumed that these
will be the randomized paths.  It is therefore assumed
that they are already of the correct dimensions.
paths =
distance = getDistanceDataForPaths(paths=paths,statistic='max')