SDraw: Spatially Balanced Sample Draws for Spatial Objects
Version 2.1.3

Routines for drawing samples, focusing on spatially balanced algorithms. Draws Halton Lattice (HAL), Balanced Acceptance Samples (BAS), Generalized Random Tesselation Stratified (GRTS), Simple Systematic Samples (SSS) and Simple Random Samples (SRS) from point, line, and polygon resources. Frames are 'SpatialPoints', 'SpatialLines', or 'SpatialPolygons' objects from package 'sp'.

AuthorTrent McDonald
Date of publication2016-06-11 00:02:16
MaintainerTrent McDonald <tmcdonald@west-inc.com>
LicenseGNU General Public License
Version2.1.3
URL https://github.com/tmcd82070/SDraw/wiki/SDraw
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("SDraw")

Getting started

Package overview

Popular man pages

bas.line: Draws a Balanced Acceptance Sample (BAS) from a linear...
hal.line: Draws a Halton Lattice sample from a linear (line) resource .
halton.lattice: Halton lattice inside a rectangle
primes: Prime numbers
SDraw-package: Selection of spatially balanced samples.
sss.line: Draw a Simple Systematic Sample (SSS) from a linear resource.
WY: SpatialPolygonsDataFrame of counties in the state of Wyoming,...
See all...

All man pages Function index File listing

Man pages

bas.line: Draws a Balanced Acceptance Sample (BAS) from a linear...
bas.point: Draws a Balanced Acceptance Sample (BAS) from a discrete...
bas.polygon: Draws a Balanced Acceptance Sample (BAS) from an area...
extended.gcd: Extended Greatest Common Denominator (GCD) algorithm.
grts.line: Draw a equi-probable GRTS sample from a linear (line)...
grts.point: Draw a equi-probable GRTS sample from a discrete (point)...
grts.polygon: Draw a equi-probable GRTS sample from an area (polygon)...
hal.line: Draws a Halton Lattice sample from a linear (line) resource .
hal.point: Draws a Halton Lattice sample from a discrete (point)...
hal.polygon: Draws a Halton Lattice sample from an area (polygon)...
halton: Compute points in the Halton sequence.
halton.frame: Construct a Halton sampling frame.
halton.indices: Halton indices
halton.indices.CRT: Halton indices by the Chinese Remainder Theorem (CRT)
halton.indices.vector: Halton indices for an entire vector of coordinates
halton.lattice: Halton lattice inside a rectangle
halton.lattice.polygon: Halton lattice inside a 'SpatialPolygon*' object.
HI.coast: SpatialLinesDataFrame of the coastline of Hawaii, USA
lineLength: Line length
maxU: Maximum integer used in the BAS routines
plotSample: Plot sample and frame
polygonArea: Polygon area
primes: Prime numbers
sdraw: Sample draws from spatial objects.
SDraw-package: Selection of spatially balanced samples.
srs.line: Draw a Simple Random Sample (SRS) from a linear resource.
srs.point: Draw a Simple Random Sample (SRS) from a point resource or...
srs.polygon: Draws a Simple Random Sample (SRS) from an area resource...
sss.line: Draw a Simple Systematic Sample (SSS) from a linear resource.
sss.point: Draw a Simple Systematic Sample (SSS) from a point resource...
sss.polygon: Draws a Simple Systematic Sample (SSS) from an area resource...
voronoi.polygons: Calculate Voronoi polygons for a set of points
WA: SpatialPolygonsDataFrame for the state of Washington, USA
WA.cities: SpatialPointsDataFrame of cities in Washington state, USA
WY: SpatialPolygonsDataFrame of counties in the state of Wyoming,...

Functions

Files

NAMESPACE
data
data/WY.rda
data/WA.rda
data/WA.cities.rda
data/HI.coast.rda
R
R/halton.lattice.r
R/halton.indicies.vector.r
R/hal.line.r
R/grts.polygon.r
R/max.U.r
R/bas.line.r
R/halton.lattice.polygon.r
R/grts.point.r
R/WY.r
R/srs.point.r
R/lineLength.r
R/polygonArea.r
R/grts.line.r
R/srs.line.r
R/WA.cities.r
R/sss.line.r
R/sdraw.SpatialPolygons.r
R/extended.gcd.r
R/hal.polygon.r
R/halton.r
R/sss.polygon.r
R/halton.indicies.r
R/sss.point.r
R/hal.point.r
R/bas.polygon.r
R/merge.lines.r
R/WA.r
R/sdraw.SpatialPoints.r
R/bas.point.r
R/HI.coast.r
R/zzz.r
R/SDraw-package.r
R/voronoi.polygons.r
R/halton.indicies.CRT.r
R/sdraw.r
R/plot.sdrawSample.R
R/sdraw.SpatialLines.r
R/halton.frame.r
R/aprox.r
R/srs.polygon.r
R/primes.r
R/grts.equi.r
MD5
DESCRIPTION
man
man/grts.point.Rd
man/halton.lattice.polygon.Rd
man/WY.Rd
man/primes.Rd
man/halton.frame.Rd
man/bas.point.Rd
man/lineLength.Rd
man/hal.point.Rd
man/HI.coast.Rd
man/polygonArea.Rd
man/voronoi.polygons.Rd
man/extended.gcd.Rd
man/halton.lattice.Rd
man/sss.polygon.Rd
man/halton.Rd
man/sss.point.Rd
man/halton.indices.CRT.Rd
man/bas.polygon.Rd
man/SDraw-package.Rd
man/hal.polygon.Rd
man/WA.cities.Rd
man/maxU.Rd
man/WA.Rd
man/halton.indices.vector.Rd
man/grts.line.Rd
man/sdraw.Rd
man/sss.line.Rd
man/plotSample.Rd
man/halton.indices.Rd
man/srs.polygon.Rd
man/bas.line.Rd
man/srs.line.Rd
man/srs.point.Rd
man/hal.line.Rd
man/grts.polygon.Rd
SDraw documentation built on May 19, 2017, 4:13 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.