prep_data_dist {tidyclust} | R Documentation |
Prepares data and distance matrices for metric calculation
Description
Prepares data and distance matrices for metric calculation
Usage
prep_data_dist(object, new_data = NULL, dists = NULL, dist_fun = Rfast::Dist)
Arguments
object |
A fitted |
new_data |
A dataset to calculate predictions on. If |
dists |
A distance matrix for the data. If |
dist_fun |
A custom distance functions. |
Value
A list
[Package tidyclust version 0.2.3 Index]