Bivariate time series plots: scatterplots, directed lines and kernel density estimations using functions in the sm package.

1 2 |

`x` |
time series |

`lag` |
time lag |

`h` |
kernel window (useful only for kernel estimations) |

`type` |
type of plot: contour levels, perspective plots, image, directed lines, points or points with superposed kernel regression |

Bivariate time series plots: scatterplots, directed lines and kernel density
and regression functions estimations using functions in the package sm.
In particular, for kernel density estimation `sm.density`

is
used, with smoothing parameter `h`

defaulting to
`hnorm`

. For kernel regression,
`sm.regression`

is used.

None. Plots are produced on the default graphical device.

Wrappers to sm by Antonio, Fabio Di Narzo

For finer control on density estimation, consider using directly
`sm.density`

and, especially, `sm.ts.pdf`

from package sm.

1 2 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.