Learn R Programming

mdatools (version 0.14.2)

prep.varsel: Variable selection

Description

Returns dataset with selected variables

Usage

prep.varsel(data, var.ind)

Value

data matrix with the selected variables (columns)

Arguments

data

a matrix with data values

var.ind

indices of variables (columns) to select, can bet either numeric or logical