rings_grid: Rings grid

Description Usage Arguments Examples

Description

Generate rings of receptors at increasing distances from a center point.

Usage

1
2
rings_grid(center_x = 0, center_y = 0, radii = c(10, 15, 20, 30, 100),
  spacing = 7, show_plot = TRUE)

Arguments

center_x

Grid's center X coordinate.

center_y

Grid's center Y coordinate.

radii

Distances of receptor rings from center.

spacing

Distance between receptors. A single value will apply to all rings. Enter a vector of values to apply a unique spacing distance for each ring.

show_plot

Plot receptor grid.

Examples

1
2
3
4
rings_grid(center_x = 0,
           center_y = 0,
           radii    = c(10,15,20,30,100),
           spacing  = 7)

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