masterSampleSelect: Generate sample points using BAS master sample. This function...

View source: R/MasterSample.r

masterSampleSelectR Documentation

Generate sample points using BAS master sample. This function has no features and is generally expected to be run by the wrapper function. masterSample that ensures all the correct pieces are passed and adds the additional feature of stratification.

Description

Generate sample points using BAS master sample. This function has no features and is generally expected to be run by the wrapper function. masterSample that ensures all the correct pieces are passed and adds the additional feature of stratification.

Usage

masterSampleSelect(shp, N = 100, bb = NULL, nExtra = 5000, printJ = FALSE)

Arguments

shp

Shape file as a polygon to select sites for.

N

Number of sites to select.

bb

Bounding box which defines the Master Sample. Default is BC Marine Master Sample.

nExtra

An efficiency problem of how many extra samples to draw before spatial clipping to shp.

printJ

Boolean if you want to see J, how many cuts of space are required to generate the sample efficiently.


paul-vdb/DFO-master-sample documentation built on April 5, 2022, 4:35 p.m.