makeTarget: makeTarget

View source: R/F004_targets.R

makeTargetR Documentation

makeTarget

Description

Creates a layer containing a series of concentric circles.

Usage

makeTarget(
  x,
  y,
  maxRadius,
  numberOfColours,
  .useData = c(TRUE, FALSE),
  addColoursName = "componentColours",
  ...
)

Arguments

x, y

co-ordinates for the centre of the targetColours

maxRadius

size of largest circle

numberOfColours

number of circles

.useData

controls addColours and colourComponents.

...

passed to layer@data and function objects

Value

Returns a layer with one component per circle.

Examples

easyPlot(makeTarget(x=0,y=0,1,3))

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.