Nothing
###############################################################################################
##### scatter plot with text overlay
###############################################################################################
#' @name pl.3txt
#' @aliases pl.3txt
#' @title Scatter plot with text overlay
#' @description Generate a scatter plot with text overlay. This plot is to better show the effect of
#' the text variable in the domain of x and y variable.
#' @usage pl.3txt(x,y,txt,title)
#' @param x :a numeric vector
#' @param y :a numeric vector
#' @param txt :a vector used as labels
#' @param title :title of the graph
#' @examples pl.3txt(mtcars[,1], mtcars[,3], row.names(mtcars),"mpg v. cyl")
pl.3txt <- function(x, y, txt, title){
plot(x, y, type = "n", main = title); text(x,y,txt, cex = .5)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.