f_trans {MandalaR} | R Documentation |
creates a dataframe containing the points for the espiral hiperbolica mandala
Description
Function to translation points by shifts on the x-axis or y-axis
Usage
f_trans(x, y, t, d)
Arguments
x |
is a vector length n with coordinate x of point |
y |
is a vector length n with coordinate y of point |
t |
is a vector with shifts on the x or y-axis |
d |
is a direction translation, 1)x or 2)y |
Value
Returns a dataframe with the original points plus the respective translation of these points.
Author(s)
Luciane Ferreira Alcoforado
Examples
x=c(1,1)
y=c(0,1)
t=c(-3, 3)
d=1
f_trans(x,y,t,d)
[Package MandalaR version 0.1.0 Index]