attribute_non_attendance_function: Attribute Non Attendance Function (for Inconsistent Bias and...

Description Usage Arguments Examples

View source: R/biasdetection_functions.R

Description

Attribute Non Attendance Function (for Inconsistent Bias and Non Trading)

Usage

1
2
3
4
5
6
7
8
9
attribute_non_attendance_function(
  csv_file,
  total_scenarios,
  num_blocks,
  scenarios,
  alternatives,
  attribute,
  attribute_short
)

Arguments

csv_file

The file we want to process

total_scenarios

A list containing all the SP scenarios

num_blocks

The amount of blocks on which the scenarios will be distributed

scenarios

A list containing the relevant SP scenarios for the specific attribute of LRS

alternatives

A list containing the alternatives for the SP experiment

attribute

The attribute chosen for LRS

attribute_short

The short form of the attribute name (for table names) attribute_non_attendance_function()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## Not run: 
attribute_non_attendance_function(file.csv, list(list("S1", "S2"),
                                                 list("S3", "S4"),
                                                 list("S5", "S6"),
                                                 list("S7", "S8")),
                                                 4,
                                                 list(list("S1"),
                                                      list("S4"),
                                                      list("S6"),
                                                      list("S7")),
                                                      "Cheapest_Cost",
                                                      "CC")
attribute_non_attendance_function(file.csv, list(list("S1", "S2", "S3", "S4"),
                                                 list("S5", "S6", "S7", "S8")),
                                                 2,
                                                 list(list("S1", "S3"),
                                                      list("S7", "S8")),
                                                      "Fastest_Travel_Time",
                                                      "FTT")

## End(Not run)

Rupanjan22/biasdetection documentation built on April 14, 2021, 10:46 a.m.