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

Description Usage Details

View source: R/branchmodel.R

Description

Set up the initial guess for the branchmodel. Inspired by kmeans++.

Usage

1
initialize_tips(branchmodel)

Details

Fix a tip randomly. Take the farthest point from that, and the farthest point from those two, and then reset the random one to the farthest from the other two. Distance to the pair is the minimum over the individual distances.


ekernf01/branchmodel documentation built on Oct. 24, 2020, 8:56 a.m.