Description Format See Also Examples
A Dummy Data for Contour Plots
A data frame with 10000 observations on the following 3 variables.
x
a x-axis variable
y
a y-axis variable
z
density
contour-class
1 2 3 4 5 6 7 8 9 | # This data is generated by the code below:
# set.seed(5435678)
# dataContour <- data.frame(
# x = (zx <- (rep(1:100, 100) - 5) / 2),
# y = (zy <- (rep(1:100, each=100) - 5) / 2),
# z = (z <- zx*zy)
# )
# save(dataContour, file = "dataContour.RData")
# try(data(dataContour, package = "RcmdrPlugin.KMggplot2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.