sellipse {gdi}R 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)

[Package gdi version 1.6.0 Index]