translation {edgeCorr}R Documentation

Translation edge correction

Description

This function creates an extra copy of the dataset in whichever direction (right, left, top or bottom) is requested.

Usage

translation(pp, Length,Breadth, direction)

Arguments

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.

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])
translation(datafile,1,1,1)

[Package edgeCorr version 1.0 Index]