locCircle: Simulate Circlular Locations

Description Usage Arguments Details Value Author(s) See Also Examples

Description

This function simulates a given number of locations equally distributed on a circle.

Usage

1
locCircle(r, np)

Arguments

r

the radius of the circle

np

the number of locations on the circle

Details

The center of the circle is (0, 0).

Value

A np \times 2 matrix indicates the x-y coordinates of the locations.

Author(s)

Liang Jing ljing918@gmail.com

See Also

locGrid, locSquad, simData, plotData.

Examples

1
2
3
4
## Not run: 
  loc <- locCircle(1, 40)

## End(Not run)

geoCount documentation built on May 2, 2019, 12:38 a.m.

Related to locCircle in geoCount...