View source: R/textBoxPlacement.R
xPosCheck | R Documentation |
is the value of xPos within a valid range?
xPosCheck(xPos, xList, verbose)
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 |
numeric vector valid values of xPos
# replace incorrect xPos with reasonable value
xPosCheck(c(1,1,-5),xList2,verbose=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.