translation {edgeCorr} | R Documentation |
This function creates an extra copy of the dataset in whichever direction (right, left, top or bottom) is requested.
translation(pp, Length,Breadth, direction)
pp |
Dataframe comprising of two rows labelled x and y. |
Length |
Length of study area |
Breadth |
Breadth of study area |
direction |
The direction can be specified as either 1,2,3 or 4. 1,2,3,4 denote the right, left, top and bottom borders respectively. |
The xy coordinates for the additional dataset are returned.
Glenna Nightingale
data(x)
data(y)
datafile = data.frame(x[,1],y[,1])
translation(datafile,1,1,1)