export_file_internal {Clustering} | R Documentation |
Export result of internal metrics in latex.
Description
Method that exports the results of internal measurements in latex format to a file.
Usage
export_file_internal(df, path = NULL)
Arguments
df |
It's a dataframe that contains as a parameter a table in latex format with the results of the internal validations. |
path |
It's a string with the path to a directory where a file is to be stored in latex format. |
Details
When we work in latex format and we need to create a table to export the results, with this method we can export the results of the clustering algorithm to latex.
Value
A file in Latex format with the results of the internal metrics.
Examples
result = Clustering::clustering(
df = cluster::agriculture,
min = 4,
max = 5,
algorithm='gmm',
metrics=c("Recall","Dunn")
)
Clustering::export_file_internal(result)
file.remove("internal_data.tex")
[Package Clustering version 1.7.10 Index]