Description Usage Arguments Value Author(s) References Examples
View source: R/all_functions_v8.R
Creates a new (molten) data matrix where all elements of y are added to each row of x. Each row in x is recycled for each element in y. Elements in y are added as the first column in the returned matrix.
1 | AddDimension(x, y)
|
x |
a matrix or data.frame with at least 1 row and 1 column. |
y |
a vector with elements that will be added to x |
a matrix with an extra column as compared to x
Damiano Fantini, damiano.fantini@gmail.com
https://www.data-pulse.com/dev_site/cellmigration/
1 2 3 | cellmigRation:::AddDimension(
x = cbind(seq(1,4,by=1), seq(4,1,by=-1)),
y = c(9, 7))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.