Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

areaSphere

compute the area of an n-dimensional hypersphere


Description

compute the area of an n-dimensional hypersphere

Usage

areaSphere(n, r = 1)

Arguments

n

dimensionality of space the hypersphere is embedded in (e.g.3 for a 3D-sphere)

r

radius of the sphere

Value

returns the area

Examples

areaSphere(2) #gives us the circumference of a circle of radius 1

Morpho

Calculations and Visualisations Related to Geometric Morphometrics

v2.8
GPL-2
Authors
Stefan Schlager [aut, cre, cph], Gregory Jefferis [ctb], Dryden Ian [cph]
Initial release
2020-02-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.