Learn R Programming

rwisp (version 1.0.5)

rwispfromcsv: 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)

Value

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

Arguments

file

the name of the file

Examples

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

Run the code above in your browser using DataLab