Description Usage Arguments Value Note References Examples

View source: R/HorseShoeArea.R

Function to calcuate the area of a given horseshoe shape

1 | ```
HorseShoeArea(HorseShoeShape)
``` |

`HorseShoeShape` |
- Object containing the outline of a horseshoe shape, output from PtsAlgHorseShoe function |

Returns the area of the horseshoe shape with the circular and rectangular portions separated

Currently forces use of a height 5/4 width and r2=2*r1 of origin (center)

[1] From http://mathforum.org/library/drmath/view/51816.html

1 2 | ```
HorseShoeTest<-PtsAlgHorseShoe(z=2000,spacing=1,endAngles=c(-90,90))
HorseShoeArea(HorseShoeTest)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.