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

View source: R/gdi.r

sellipseR Documentation

Estimate area of a superellipse. Assistant function for gdi.

Description

Estimate area of a superellipse. Assistant function for gdi.

Usage

sellipse(a, b, k)

Arguments

a

First radius of the superellipse.

b

Second radius of the superellipse.

k

superellipse exponent.

Value

A single number giving the area of the superellipse

Examples

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

gdi documentation built on May 29, 2024, 12:34 p.m.