View source: R/visualization.R
| simulate_checkerboard | R Documentation |
Generate a checkerboard pattern with alternating signals
simulate_checkerboard(grid_size = 8, tile_size = 1)
grid_size |
Number of tiles per row/column (default: 8) |
tile_size |
Resolution of each tile in pixels per side (default: 1) |
Data frame with X, Y coordinates and signal_1, signal_2 patterns
# Generate 8x8 checkerboard with 10x10 pixel tiles
df <- simulate_checkerboard(grid_size = 8, tile_size = 10)
p <- visualize_checkerboard(df)
print(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.