f_trans | R Documentation |
Function to translation points by shifts on the x-axis or y-axis
f_trans(x, y, t, d)
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 |
Returns a dataframe with the original points plus the respective translation of these points.
Luciane Ferreira Alcoforado
x=c(1,1) y=c(0,1) t=c(-3, 3) d=1 f_trans(x,y,t,d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.