calc_offset: Calculate offsets for a specific point, in a layer, position

Description Usage Arguments Value

View source: R/calc_offset.R

Description

each side has several layers, with a number of positions in the layer

Usage

1
calc_offset(position, layer, side, offset_x = 0.1, offset_y = 0.1)

Arguments

position

number for position at the particular side on the layer

layer

number of layer

side

side for offset 1 - top 2 - right 3 - bottom 4 - left

offset_x

offset for x axis

offset_y

offset for y axis

Value

integer vector of length 2 position 1 is new x value, position y is new y value


ggBubbles documentation built on Sept. 4, 2019, 9:02 a.m.