Learn R Programming

mdatools (version 0.14.2)

mda.exclrows: Exclude/hide rows in a dataset

Description

Exclude/hide rows in a dataset

Usage

mda.exclrows(x, ind)

Value

dataset with excluded rows

Arguments

x

dataset (data frame or matrix).

ind

indices of rows to exclude (numbers, names or logical values)

Details

The method assign attribute 'exclrows', which contains number of rows, which should be excluded/hidden from calculations and plots (without removing them physically). The argument ind should contain rows numbers (excluding already hidden), names or logical values.