Description Usage Arguments Value Note Examples
Create a rectangular shaped distribution with equal area to a given area
1 | EqualAreaRectangle(center = c(0, 0), TargetArea, error = 0.001)
|
center |
- Arrary containing the coordinates of the center of circular portion of the rectangle in decimal degree |
TargetArea |
- Area in square kilometers desired for the rectangle |
error |
- The tolerable proportion of error between the rectangular shape and the TargetArea |
Returns a 2-dimensional array of decimal degree coordinates outlining a rectangular shaped distribution
This returns 100 evenly spaced points along each corner of the rectangle, in addition to the corners themselves
1 2 3 | HorseShoeTest<-PtsAlgHorseShoe(z=2000,spacing=1,endAngles=c(-90,90))
HorseShoePts<-RandHorseShoe(center=c(0,0),npts=100,HorseShoeShape=HorseShoeTest)
EqualAreaRectangle(TargetArea=as.numeric(HorseShoePts$TotalArea_km2),error=0.001)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.