Description Usage Arguments Details Value

View source: R/branchmodel_numerical.R

Find a contiguous subset of points.

1 | ```
find_contiguous_region(all_points, good_idx, root_idx)
``` |

`all_points` |
Data used. |

`good_idx` |
The "good" points are 'all_points[good_idx, ]'. |

`root_idx` |
The indices returned include this number. |

Given a set of "good" points and a "root", find a group of good points that contains the root and doesn't span gaps with nearby "bad" points.

An atomic vector of indexes such that 'all_points[output, ]' is contiguous and not interrupted by 'all_points[-output, ]'.

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.