f_transxy {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 or both

Usage

f_transxy(x, y, tx, ty)

Arguments

x

is a vector length n with coordinate x of point

y

is a vector length n with coordinate y of point

tx

is a vector with with shifts on the x-axis

ty

is a vector with with shifts on the y-axis

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)
tx=c(-1,-2)
ty=c(0,0)
f_transxy(x,y,tx,ty)



[Package MandalaR version 0.1.0 Index]