Description Usage Format Details Examples
N = 500; set.seed(50); #spherical Bump1 <- cbind(x=rnorm(N,0,.45), y=rnorm(N,0,.45),l=1);#center at (0,0)
Bckgr <- cbind(x=runif(2*N,-4,4), y=runif(2*N,-4,4),l=0);#center at (0,0); data1 <- as.data.frame(rbind(Bump1, Bckgr)); data1$l = factor(data1$l)
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); #spherical Bump1 <- cbind(x=rnorm(N,0,.45), y=rnorm(N,0,.45),l=1);#center at (0,0)
Bckgr <- cbind(x=runif(2*N,-4,4), y=runif(2*N,-4,4),l=0);#center at (0,0); data1 <- as.data.frame(rbind(Bump1, Bckgr)); data1$l = factor(data1$l)
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.