xdistSpace: Calculate spaced x points

Description Usage Arguments Value Author(s) See Also Examples

Description

This Function is designed to calculate points spaced breaks distance apart from a plot. It will return a three column matrix with the first two columns corresponding to geographical locations and the third column being the distance from the first point

Usage

1
xdistSpace(ref, max=1000,nbreaks=5, unit="m", x=NULL, y=NULL,wgs=TRUE, breaks=NULL)

Arguments

ref

a spatial object that was plotted, whose coordinates you want the points to be in

max

the maximum distance you want

nbreaks

the number of equally spaced points you want

unit

the units that correspond to max, or breaks

x

The x location of the first point

y

the y location of the first points

wgs

whether the map is in wgs 1984

breaks

if supplied max and nbreaks is ignored. This is a vector of distances that points will be returned for

Value

A 2 column matrix is returned. The first position is the x coordinates of the points. The second column is the y location of the points. The third column represents the distance between that point and the first point

Author(s)

Connor F. White

See Also

scaleBar, scaleBar2

Examples

1
2
3
4
5
6
7
8
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x) 
{
  }

ConnorFWhite/AssFunc documentation built on May 20, 2019, 4:07 p.m.