powered by
is the value of xPos within a valid range?
xPosCheck(xPos, xList, verbose)
numeric vector valid values of xPos
integer specifying x position to try to place text box
list whose components are numeric vectors of the x values for overlaid curves
Boolean if TRUE print informative or diagnostic messages to console
# replace incorrect xPos with reasonable value xPosCheck(c(1,1,-5),xList2,verbose=TRUE)
Run the code above in your browser using DataLab