Return an empty branchmodel object.
raw_data:One row is one datum. Stores coords in some space.
dist_df:One row is one datum. Stores distances from each branch of the latent 'Y' shape (three columns).
assignments:length is number of data points. Entries give rows of 'tips' corresponding to the closest branch.
tips:Matrix with one row per branch (three total). One column per variable (same dimension as 'raw_data').
models:List with one element per branch (three total). Currently supports only 'principal.curve' objects from the 'princurve' package.
center:atomic of the same dimension as 'raw_data[1, ]'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.