%div% | R Documentation |
Elementwise division of numeric
or character
arrays.
x %div% y
x |
|
y |
|
array
.
Guidotti E (2022). "calculus: High-Dimensional Numerical and Symbolic Calculus in R." Journal of Statistical Software, 104(5), 1-37. doi: 10.18637/jss.v104.i05
Other basic arithmetic:
%diff%()
,
%dot%()
,
%inner%()
,
%kronecker%()
,
%outer%()
,
%prod%()
,
%sum%()
### vector x <- c("a+1","b+2") x %div% x ### matrix x <- matrix(letters[1:4], ncol = 2) x %div% x ### array x <- array(letters[1:12], dim = c(2,2,3)) y <- array(1:12, dim = c(2,2,3)) x %div% y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.