xPosCheck {textBoxPlacement}R Documentation

xPosCheck

Description

is the value of xPos within a valid range?

Usage

xPosCheck(xPos, xList, verbose)

Arguments

xPos

integer specifying x position to try to place text box

xList

list whose components are numeric vectors of the x values for overlaid curves

verbose

Boolean if TRUE print informative or diagnostic messages to console

Value

numeric vector valid values of xPos

Examples

# replace incorrect xPos with reasonable value

xPosCheck(c(1,1,-5),xList2,verbose=TRUE)

[Package textBoxPlacement version 1.0 Index]