| dsub | R Documentation |
Updates 'Y' by subtracting 'X', i.e. Y := Y - X.
dsub(N = NULL, X, INCX = 1L, Y, INCY = 1L)
N |
Optional integer giving the number of elements. Defaults to 'length(X)'. |
X |
Double-precision vector, matrix or ['bigmemory::big.matrix'] input. |
INCX |
Integer stride for traversing 'X'. |
Y |
Double-precision object updated in place. |
INCY |
Integer stride for traversing 'Y'. |
Invisibly returns the modified 'Y'.
x <- 1:4
y <- rep(10, 4)
dsub(X = x, Y = y)
y
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.