makeElipseCoords: Make Elipse Coordinates

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Create x & y coordinates for an elipse from parameters. save.

Usage

1
makeElipseCoords(x0 = 0, y0 = 0, b = 1, a = 1, alpha = 0, pct.range = c(0,1), len = 50)

Arguments

x0

x coordinate of center of elipse.

y0

y coordinate of center of elipse.

b

y axis stretch factor.

a

x axis stretch factor.

alpha

rotation factor.

pct.range

percentage of the way around the elipse.

len

number of points used to draw elipse.

Value

a 2 column (x and y) dataframe with coordinates for drawing an elipse

Examples

1
makeElipseCoords(x0 = 0, y0 = 0, b = 1, a = 2, alpha = 0)

caroline documentation built on May 29, 2017, 12:09 p.m.