getHaltonFrame {spbal} | R Documentation |
Obtain a Halton Frame over a shapefile.
Description
An internal only function.
Usage
getHaltonFrame(shapefile, J, i, bases, seeds, crs)
Arguments
shapefile |
A MULTIPOINT or POINT object that we want to generate a halton frame for. |
J |
The number of grid cells. A list of 2 values. |
i |
An integer to add to the J parameter elements to expand the Halton Frame in both directions if the required number of sample points cannot be found in the region of interest in the current Halton frame. |
bases |
Co-prime base for the Halton Sequence. |
seeds |
A list of 2 seeds, u1 and u2. |
crs |
Coordinate reference system for the shapefile. |
Details
This function was written by Phil Davies.
Value
A list containing the following variables: hf_, sample, pts.shp, bb.new, seeds
[Package spbal version 1.0.1 Index]