help with documentation

pos_polygon_x(x0 = 0, n = 5, radius = 1, rotation = -0.5)

Arguments

x0

numeric x center of shape, defaults to 0

radius

a numeric value, the distance between x0 and y0 and the vertices

rotation

numeric indicating how much polygon should be turned from first vertex along positive horizontal

Value

Examples

pos_polygon_x()
#> [1] 6.123234e-17 9.510565e-01 5.877853e-01 -5.877853e-01 -9.510565e-01
pos_polygon_x(n = 10)
#> [1] 6.123234e-17 5.877853e-01 9.510565e-01 9.510565e-01 5.877853e-01 #> [6] 6.123234e-17 -5.877853e-01 -9.510565e-01 -9.510565e-01 -5.877853e-01