Learn R Programming

ashapesampler (version 1.0.0)

get_volume: Get volume

Description

Quickly calculate which volume needed for a homology bound; here to clean up code above

Usage

get_volume(r, rmin, bound)

Value

volume, number

Arguments

r

side length (cube) or radius (sphere, shell)

rmin

radius of inner sphere for shell

bound

cube, sphere, shell