View source: R/TrajectoryGeometry.R
getSphericalData | R Documentation |
It handles the case in which from, to and d are all given by the dimensions of the path
getSphericalData(path, statistic)
path |
- an m x n matrix. Each row is considered a point |
statistic |
- one of 'mean','median' or 'max' |
This function returns a list whose elements are the projections of the path to the sphere, the center for those projections, the median, mean or max distance from the center to those projections and the name of the statistic used.
sphericalData = getSphericalData(straight_path,'max')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.