Calculate the number of true positives and false positives

Get the contribution of one dimension to the Residual Squared Error (RSE)

1 | ```
getUnivJ(y, candCP)
``` |

`y` |
Input vector of signals for the considered dimension |

`candCP` |
A vector of candidate change points |

This function is used internally by `pruneByDP`

.

Morgane Pierre-Jean and Pierre Neuvial

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.