xPosCheck: xPosCheck

View source: R/textBoxPlacement.R

xPosCheckR 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)

textBoxPlacement documentation built on March 31, 2023, 6:05 p.m.