calc_offset {ggBubbles}R Documentation

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

Description

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

Usage

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


[Package ggBubbles version 0.1.4 Index]