Description Usage Format Details Examples
data generation see details
1 |
A data frame with 1500 observations on the following 3 variables.
spatial x coordinate
spatial y coordinate
binary flag
N = 500; set.seed(50); Bckgr <- cbind(x=runif(2*N,-4,4), y=runif(2*N,-4,4),l=0);#center at (0,0); library(MASS) (Sigma <- matrix(c(1,0.85,0.85,1),2,2)) Bump2 = cbind(mvrnorm(n = N, rep(0, 2), Sigma),l=1) colnames(Bump2)[1:2] = c("x","y") #Bump2 <- cbind(x=rnorm(N/2,0,.75), y=rnorm(N/2,0,.75),l=0);#center at (0,0) data2 <- as.data.frame(rbind(Bump2, Bckgr)); data2$l = factor(data2$l)
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.