spheres | R Documentation |
The spheres, spheres2 and discs data sets are artificial data sets to illustrate dimension reduction by PCA and ICA. More details:
1000 objects consisting of a combination of two sets of 500 samples each, drawn from two trivariate normal distributions with respective (empirical) means (10,10,0) and (25,25,0), and (empirical) covariance matrix diag(c(10,10,10)) in both cases. The entire set can be seen as two spheres with centres lying on the line y=x in the z=0 plane.
1000 objects consisting of a combination of two sets of 500 samples each, drawn from two trivariate normal distributions with respective (empirical) means (10,10,0) and (20,30,0), and (empirical) covariance matrix diag(c(10,10,10)) in both cases. The entire set can be seen as two spheres with centres lying on the line y=2x-10 in the z=0 plane.
1000 objects consisting of a combination of two sets of 500 samples each, drawn from two trivariate normal distributions with respective (empirical) means (40,36,44) and (40,44,36), and (empirical) covariance matrix matrix(c(30,0,21,0,30,21,21,21,30), 3, 3) in both cases. The entire set can be seen as two disc-like ellipsoids that lie above eachother along the same direction, but are slightly shifted with respect to eachother.
data(spheres)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.