Description Usage Arguments Details Value Examples
create_grid
creates a grid from the given set of values.
1 | create_grid(grid_size, n_evidence)
|
grid_size |
a numeric vector of the form c(nrows, ncolumns) which gives the size of the grid in x and y direction. |
n_evidence |
a number specifing the amount of evidence in the grid. |
The user can specify how big the grid is and how much evidence will be placed in the grid. The function first creates a grid that is completely empty. The evidence is sampled and added to the grid at random. In a last step a wall is being built around the grid.
A matrix containing a grid.
1 | create_grid(grid_size = c(10, 10), n_evidence = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.