map_ngon: creates a tibble with a new row for each of the entries of...

Description Usage Arguments Value Examples

View source: R/map_ngon.R

Description

creates a tibble with a new row for each of the entries of the vector radius, r or the vector number of sides n finding the respective x and y coordinates, perimeter, and area of each entry

Usage

1
map_ngon(math_ngon)

Arguments

math_ngon

a tibble created from the function coords_ngon

Value

a tible containining the radius r, number of side n, area and perimeter of each the entries

Examples

1
2
map_ngon(ngon(2:3,4))
map_ngon(ngon (2,4:5))

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