Learn R Programming

ffbase (version 0.6-2)

+.ff_vector: Arithmetic Operators for ff vectors

Description

These binary operators perform arithmetic on numeric ff vectors. Arith family:
  • Arith:
{"+", "-", "*", "/", "^", "%%", "%/%"}

Usage

## S3 method for class 'ff_vector':
+(x, y)

  ## S3 method for class 'ff_vector':
-(x, y)

  ## S3 method for class 'ff_vector':
*(x, y)

  ## S3 method for class 'ff_vector':
/(x, y)

  ## S3 method for class 'ff_vector':
^(x, y)

  ## S3 method for class 'ff_vector':
\%\%(x, y)

  ## S3 method for class 'ff_vector':
\%/\%(x, y)

Arguments

x
either a numeric ff_vector or a vector of length 1 in RAM in which case y should be an ff_vector
y
either a numeric ff_vector or a vector of length 1 in RAM in which case x should be an ff_vector

Value

  • an ff_vector. For the definition of the operators see the base package of R.

code

ff_vector