Description Usage Arguments Value Author(s) Examples
View source: R/ReflectionEdgeCorrection.R
This function creates an extra dataset of points that, when plotted are the mirror reflection of the specified edge of the original dataset.
1 | reflection(pp, Length,Breadth, direction)
|
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. |
The xy coordinates for the additional dataset are returned.
Glenna Nightingale
1 2 3 4 | data(x)
data(y)
datafile = data.frame(x[,1],y[,1])
reflection(datafile,1,1,4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.