check_walls | R Documentation |
This is a helper function to check ver_walls and hor_walls. It's called by check_user_world twice.
check_walls(dataset, name, nx, ny)
dataset |
Either hor_walls or ver_walls |
name |
Character string: "hor_walls" or "ver_walls" |
nx, |
ny Size of the world |
If a misespecification is found, this function produces a stop and provides a descriptive error message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.