locCircle {geoCount}R Documentation

Simulate Circlular Locations

Description

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

Usage

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

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

## End(Not run)

[Package geoCount version 1.150120 Index]