Description Usage Arguments Value Examples
View source: R/SphericalCubature.R
Calculates the (n-1) dimensional surface area of a sphere and the n dimensional volume of a ball in n-space.
1 2 | sphereArea(n, R = 1)
ballVolume(n, R = 1)
|
n |
Dimension of the space. |
R |
Radius of the sphere/ball. |
Single number that is the area of the sphere/volume of the ball.
1 2 | sphereArea(n=5)
ballVolume(n=5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.