area.sphwin | R Documentation |
Calculates the area of a sphere or a subset of the sphere (cap, band, wedge or polygon)
## S3 method for class 'sphwin' area(w)
w |
The window for which the area is calculated.
An object of type |
The area of the sphere is returned as an object of type numeric
.
This function is the analogue for point processes on the sphere of the
function area.owin
in spatstat, which is
the corresponding function for point processes in R^2.
Tom Lawrence <email:tjlawrence@bigpond.com>
eroded.areas.sphwin
, area.owin
sph <- sphwin(type="sphere") area.sphwin(w=sph) sphcap <- sphwin(type="sphere", param=c(0, pi/3)) area.sphwin(w=sphcap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.