vctrs-compat: vctrs compatibility functions for math, casting, coercion,...

Description Usage Arguments

Description

These functions are the extensions that allow termtools vectors to work with vctrs.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## S3 method for class 'term'
vec_arith(op, x, y, ...)

## Default S3 method:
vec_arith.term(op, x, y, ...)

## S3 method for class 'numeric'
vec_arith.term(op, x, y, ...)

## S3 method for class 'term'
vec_arith.numeric(op, x, y, ...)

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

## S3 method for class 'term'
vec_cast(x, to, ...)

## S3 method for class 'term'
vec_ptype2(x, y, ...)

## S3 method for class 'term'
vec_proxy_compare(x, ...)

## S3 method for class 'term'
vec_proxy_equal(x, ...)

Arguments

op

Arithmetic operation.

x, y

Vectors.

...

Arguments passed on to further methods.

to

Type to cast to.

.fn

Mathematical function.

.x

Vector.


ir-sfsu/intermittent documentation built on Jan. 2, 2022, 6:42 a.m.