View source: R/spruce_scatter.R
spruce_scatter | R Documentation |
NA
spruce_scatter(data, title = FALSE)
data |
|
title |
NA
NA
NA
NA
NA
##---- Should be DIRECTLY executable !! ---- ##-- ==> Define data, use random, ##-- or do help(data=index) for the standard data sets. ## The function is currently defined as function (data, title = FALSE) { mainTitle = NULL y_max = max(data[2]) x_max = max(data[1]) if (title == TRUE) { mainTitle = "Height vs Breast Height Diameter" } plot(Height ~ BHDiameter, bg = "Blue", pch = 21, cex = 1.2, ylim = c(0, y_max), xlim = c(0, x_max), main = mainTitle, data = data) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.