Fit A 'Y' Shape to Data'

bipartite_closest_pair | Find the closest pair of points, one in one class and the... |

branchmodel-class | Return an empty branchmodel object. |

find_contiguous_region | Find a contiguous subset of points. |

fit_branches | Optimize individual branch models given branch assignments. |

fit_branchmodel | Fit a "Y" shape to data |

fit_branchmodel_internal | Internal branchmodel function that performs fitting. |

get_connected_component | Find a connected component of a directed graph. |

get_issues | Check whether a branchmodel object is valid. |

get_simple_sq_distances | For each point, fills in the distance to each line segment. |

initialize_tips | Set up the initial guess for the branchmodel. Inspired by... |

kknn_specClust_outlier_removal | Calls 'kknn::specClust' with preprocessing to remove outliers... |

plot_branchmodel | Plot the data and the branchmodel object on a scatterplot... |

princurve_truncate | Remove the last few points from a principal curve. |

reassign_points | Reassign each point to the nearest branch. Assign ambiguous... |

relocate_center | Update the branch-point. |

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.