
Last chance! 50% off unlimited learning
Sale ends in
Interactive 3D plot of spherical data.
sphereplot(x, col = NULL)
A matrix with three columns, unit-vectors, spherical data.
If you want the points to appear with different colours put numbers here, otherwise leave it NULL.
An interactive 3D plot of the spherical data will appear.
# NOT RUN {
x <- rvmf(100, rnorm(3), 5)
sphereplot(x)
ina <- rbinom(100, 1, 0.5) + 1
sphereplot(x, col = ina)
# }
Run the code above in your browser using DataLab