Fit Kprototypes on globs

get_proto_clusters(data, fit_name, n_clust, iter, n_start, seed = NULL)

Arguments

data

Dataframe of a 3-d space to fit on. Two continuous dimensions and one categorical dimension.

fit_name

Name of kprototypes fit

n_clust

An integer number of clusters to fit.

iter

An integer number of max iterations for the kprototypes algorithm to converge to.

n_start

An integer number of max iterations for the kprototypes algorithm to converge to

seed

Random seed to use to make the results reproducible.

Value

Dataframe of covariates, predictions, and title of fit.