f_transxy | R Documentation |
Function to translation points by shifts on the x-axis or y-axis or both
f_transxy(x, y, tx, ty)
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 |
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) tx=c(-1,-2) ty=c(0,0) f_transxy(x,y,tx,ty)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.