export_file_internal: Export result of internal metrics in latex.

View source: R/app.R

export_file_internalR 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")


laperez/Clustering documentation built on April 23, 2024, 3:41 a.m.