export_file_external {Clustering}R Documentation

Export result of external metrics in latex.

Description

Method that exports the results of external measurements in latex format to a file.

Usage

export_file_external(df, path = NULL)

Arguments

df

It's a dataframe that contains as a parameter a table in latex format with the results of the external 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 external metrics.

Examples

result = clustering(
               df = cluster::agriculture,
               min = 4,
               max = 5,
               algorithm='gmm',
               metrics=c("Precision")
         )

export_file_external(result)
file.remove("external_data.tex")


[Package Clustering version 1.7.7 Index]