Method that exports the results of external measurements in latex format to a file.
export_file_external(df, path = NULL)
It's a dataframe that contains as a parameter a table in latex format with the results of the external validations.
It's a string with the path to a directory where a file is to be stored in latex format.
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.
# 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