Learn R Programming

gdi (version 1.10.0)

sellipse: Estimate area of a superellipse. Assistant function for gdi.

Description

Estimate area of a superellipse. Assistant function for gdi.

Usage

sellipse(a, b, k)

Value

A single number giving the area of the superellipse

Arguments

a

First radius of the superellipse.

b

Second radius of the superellipse.

k

superellipse exponent.

Examples

Run this code
major_radius<-2
minor_radius<-3
exponent<-2.3
sellipse(major_radius, minor_radius, exponent)

Run the code above in your browser using DataLab