vec_arith: Arithmetic ops

vec_arithR Documentation

Arithmetic ops

Description

Arithmetic ops

Usage

## S3 method for class 'v_count'
vec_arith(op, x, y)

## S3 method for class 'integer'
vec_arith(op, x, y)

## S3 method for class 'v_continuous'
vec_arith(op, x, y)

## S3 method for class 'double'
vec_arith(op, x, y)

## S3 method for class 'v_binary'
vec_arith(op, x, y)

Arguments

op

An arithmetic operator as a string

x

A pair of vectors. For !, unary + and unary -, y will be a sentinel object of class MISSING, as created by MISSING().

y

A pair of vectors. For !, unary + and unary -, y will be a sentinel object of class MISSING, as created by MISSING().


novisci/stype documentation built on July 28, 2022, 7:44 a.m.