areasphere: Provides the surface area of a sphere.

Description Usage Arguments Author(s) Examples

View source: R/areasphere.R

Description

Provides the surface area of a sphere.

Usage

1
areasphere(radius)

Arguments

radius

The radius of the sphere.

Author(s)

Glenn J Tattersall

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## The function is currently defined as
function (radius) 
{
    Area <- 4 * pi * radius^2
    Area
  }

# Example calculation:
radius<-4
areasphere(radius)

Thermimage documentation built on Nov. 30, 2017, 9:01 a.m.