applyOperation: Apply an operation on a data.frame

Description Usage Arguments Value Valid identifiers

Description

Applies a pre-defined operation on each row of a data.frame.

Usage

1
applyOperation(data, identifier)

Arguments

data

A data.frame. The operation will be applied on each of its rows.

identifier

A character. The operation will be selected according to it.

Value

A numeric array containing the results, if the identifier is valid. An error message, otherwise.

Valid identifiers

The operation will be selected according to the following identifiers:

  1. Constant .AVG: mean

  2. Constant .STD: sd

  3. Constant .MEDIAN: median


talithafs/dzVis-Package documentation built on May 31, 2019, 2:54 a.m.