Learn R Programming

Clustering (version 1.7)

export_file_external: Export result of external metrics in latex.

Description

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

Usage

export_file_external(df, path = NULL)

Arguments

df

is 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.

Examples

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

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

# }

Run the code above in your browser using DataLab