Description Usage Arguments Value Author(s) Examples
View source: R/buildperiodic.R
This function generates periodic boundaries by mirroring at side and top. The resulting array is four times larger than the incoming array.
1 |
x |
2D quadratic array. |
Returns a 2D array, which is four times larger than the incoming array.
Sebastian Brune
1 2 3 | x <- matrix(1:12, nrow = 4)
out <- buildperiodic(x = x)
out
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.