%sum%

0th

Percentile

Numerical and Symbolic Sum

Adds numeric or character arrays element by element.

Usage
x %sum% y
Arguments
x

character or numeric array.

y

character or numeric array.

Value

character or numeric array.

Aliases
  • %sum%
Examples
# NOT RUN {
# sum vector 
x <- c("a+1","b+2")
x %sum% x

# sum matrix 
x <- matrix(letters[1:4], ncol = 2)
x %sum% x

# sum array
x <- array(letters[1:12], dim = c(2,2,3))
y <- array(1:12, dim = c(2,2,3))
x %sum% x
y %sum% y
x %sum% y

# }
Documentation reproduced from package calculus, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.