areasphere: Provides the surface area of a sphere.

View source: R/areasphere.R

areasphereR Documentation

Provides the surface area of a sphere.

Description

Provides the surface area of a sphere.

Usage

areasphere(radius)

Arguments

radius

The radius of the sphere.

Author(s)

Glenn J Tattersall

Examples

## The function is currently defined as
function (radius) 
{
    Area <- 4 * pi * radius^2
    Area
  }

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


gtatters/Thermimage documentation built on June 12, 2025, 10:58 p.m.