Join us for
RADAR: AI Edition

muma (version 1.4)

chose.driver: List variables in the dataset

Description

List the variables (column names) of the dataset provided, in order to select the variable against which ransy and/or stocsy1d have to be performed.

Usage

chose.driver(scaling)

Arguments

scaling
a character indicating the name of the scaling used within the function 'explore.data' (see Details).

Details

The type of scaling to be used has to be indicated within the function 'explore.data' and, when re-calling the scaling the same name has to be used. The function 'chose.driver' can be used for listing the names of the variables (column names of the matrix/file provided) and for selecting the variable against which perform stocsy and /or ransy. For details see the functions 'ransy' and 'stocsy.1d'.

Examples

Run this code

## The function is currently defined as
function (scaling) 
{
    pwd.n = paste(getwd(), "/Preprocessing_Data_", scaling, "/ProcessedTable.csv", 
        sep = "")
    x <- read.csv(pwd.n, sep = ",", header = TRUE)
    x.x <- x[, 2:ncol(x)]
    rownames(x.x) <- x[, 1]
    print(colnames(x.x))
  }

Run the code above in your browser using DataLab