pcircle: creates a dataframe containing the points for the circle...

View source: R/pcircle.R

pcircleR Documentation

creates a dataframe containing the points for the circle mandala

Description

Function to build point for the circle base

Usage

pcircle(theta, raio, k, n)

Arguments

theta

is a vector length 2 with start angle and end angle

raio

is a vector length 1 with radius value

k

is a vector of length 1 with angles in degree to rotate the point (x,y)

n

is a number of points

Value

Returns a dataframe with the original points plus the respective rotations of these points.

Author(s)

Luciane Ferreira Alcoforado

Examples

theta = c(0,2*pi) #half turn angle
raio = 1
k = 45
n=20
pcircle(theta, raio, k, n)


MandalaR documentation built on Nov. 3, 2022, 1:05 a.m.

Related to pcircle in MandalaR...