reflection {edgeCorr} | R Documentation |
Reflection edge correction
Description
This function creates an extra dataset of points that, when plotted are the mirror reflection of the specified edge of the original dataset.
Usage
reflection(pp, Length,Breadth, direction)
Arguments
pp |
Dataframe with two columns labelled x and y respectively. |
Length |
Length of the study plot. |
Breadth |
Breadth of the study plot. |
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. |
Value
The xy coordinates for the additional dataset are returned.
Author(s)
Glenna Nightingale
Examples
data(x)
data(y)
datafile = data.frame(x[,1],y[,1])
reflection(datafile,1,1,4)
[Package edgeCorr version 1.0 Index]