csv_to_population {emcAdr}R Documentation

Function used to convert your genetic algorithm results that are stored into a .csv file to a Data structure that can be used by the clustering algorithm

Description

Function used to convert your genetic algorithm results that are stored into a .csv file to a Data structure that can be used by the clustering algorithm

Usage

csv_to_population(ATC_name, filename, sep = ";")

Arguments

ATC_name

the ATC_name column of the ATC tree

filename

Name of the file where the results are located

sep

the separator to use when opening the csv file (';' by default)

Value

An R List that can be used by other algorithms (e.g. clustering algorithm)

Examples


  data("ATC_Tree_UpperBound_2024")
  genetic_results = csv_to_population(ATC_Tree_UpperBound_2024$Name,
                    "path/to/output.csv")


[Package emcAdr version 1.2 Index]