coords_ngon: creates a tibble with the an entry for the radius, number of...

Description Usage Arguments Value Examples

View source: R/coords_ngon.R

Description

creates a tibble with the an entry for the radius, number of sides, x and y coordinates, perimeter, and area of shape

Usage

1

Arguments

r

a numeric input containing a positive integer

n

a numeric input containing a positive integer

Value

a dataframe containining the radius r, number of side n

Examples

1
2
ngon(3,4)
ngon (102,40)

sunniraleigh/schoolR documentation built on Dec. 16, 2019, 12:48 a.m.