Description Usage Arguments Details Value Author(s) See Also Examples

Compute pairwise Frechet distance in a matrix of trajectories. This function is a C implementation and a lot faster version than frechetDist

1 | ```
frechetDistC(x, time, ...)
``` |

`x` |
Numeric matrix or data.frame with trajectory values. Rows are trajectories, columns are time or similar. SummarizedExperiment object can be provided for compatibility with bioconductor container (for more information see vignette). |

`time` |
Numeric vector with time data (time intervals), with equal length to columns number in x. |

`...` |
Other arguments to pass to importFromSE if _x_ is SummarizedExperiment-class. |

This function is a C adaptation of the distFrechet code from kmlShape package for use with a matrix or a dataframe so that the user can compute pairwise distances between all trajectories.

It is highly recommended to use this function over frechetDist because it is a lot faster.

A dist class object of size NxN, where N is rows number in the input data

Fernando Pérez-Sanz (fernando.perez8@um.es)

Miriam Riquelme-Pérez (miriam.riquelmep@gmail.com)

1 2 3 4 |

tscR documentation built on Nov. 8, 2020, 5:53 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.