Description Usage Arguments Value Examples

Inputs times and corresponding positions in 3D space for two individuals, and uses the fda package to create functional data objects representing both persons' data with respect to a B-spline basis.

1 |

`tvec` |
Vector of times |

`p0, p1` |
Matrices of 3D positions for persons 0 and 1 at the times given by |

`nbasis` |
Dimension of B-spline basis used to represent each person's data along each dimension |

`lambda` |
Tuning parameter for penalized smoothing with respect to the given B-spline basis. |

A list with elements

`x0,y0,z0` |
Functional data objects (see |

`x1,y1,z1` |
Same, for person 1 |

`bsb` |
B-spline basis object (see |

1 | ```
# see ?syncsham
``` |

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.