rwispfromcsv {rwisp}R Documentation

Abstraction for extracting data from a CSV file to run the wispcalc function

Description

File requirements: - Separated by comma or semicolon - Do not use thousands separator Example file in https://github.com/dioubernardo/rwisp/blob/main/inst/extdata/example.csv

Usage

rwispfromcsv(file)

Arguments

file

the name of the file

Value

list with 3 matrix, ui = ranking and the global ui, normalizedData = normalized data, utilities = utility values

Examples

result <- rwispfromcsv(system.file("extdata", "example.csv", package = "rwisp"))

[Package rwisp version 1.0.5 Index]