Learn R Programming

Clustering (version 1.7.7)

export_file_external: 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.

Value

A file in Latex format with the results of the external metrics.

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.

Examples

Run this code
# NOT RUN {
result = clustering(
               df = cluster::agriculture,
               min = 4,
               max = 5,
               algorithm='gmm',
               metrics=c("Precision")
         )

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

# }

Run the code above in your browser using DataLab