chose.driver: List variables in the dataset

Description Usage Arguments Details Author(s) Examples

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

1
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'.

Author(s)

Edoardo Gaude, Dimitrios Spiliotopoulos, Francesca Chignola, Silvia Mari, Andrea Spitaleri and Michela Ghitti

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## 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))
  }

muma documentation built on May 2, 2019, 9:45 a.m.