powered by
Includes only the most important aspects (parameters). For example useful if exporting fits for prediction to JSON.
export_compact_fit(fit)
a `disclapmixfit` object
data(danes) db <- as.matrix(danes[rep(1:nrow(danes), danes$n), 1:(ncol(danes)-1)]) fit <- disclapmix(db, clusters = 4L) str(export_compact_fit(fit), 1)
Run the code above in your browser using DataLab