rect_grid: Rectangle grid

Description Usage Arguments Examples

Description

Generate a rectangular receptor grid

Usage

1
2
3
rect_grid(center_x = 50, center_y = 50, width_x = 100, length_y = 200,
  spacing_x = 7, spacing_y = 7, inner_x = NULL, inner_y = NULL,
  show_plot = TRUE)

Arguments

center_x

Grid's center X coordinate.

center_y

Grid's center Y coordinate.

width_x

Width of receptor grid on the X axis.

length_y

Length of receptor grid on the Y axis.

spacing_x

Distance between receptors on the X axis.

spacing_y

Distance between receptors on the Y axis.

inner_x

Width of inner buffer to leave empty.

inner_y

Length of inner buffer to leave empty.

show_plot

Plot receptor grid.

Examples

1
2
3
4
5
6
rect_grid(center_x   = 0,
          center_y   = 0,
          length_x   = 100,
          width_y    = 200,
          spacing_x  = 7,
          spacing_y  = 7)

dKvale/receptors documentation built on May 14, 2019, 3:06 p.m.