GRTS.ODBC: Perform a GRTS sampling on a database table via ODBC

Description Usage Arguments

Description

Perform a GRTS sampling on a database table via ODBC

Usage

1
2
  GRTS.ODBC(channel, tablename, grts.vars, cellsize,
    samplesize, availableLevels = 20, reset = FALSE)

Arguments

channel

an ODBC channel to the database

tablename

the name of the table in the database

grts.vars

the name of the variabeles which define the GRTS sampling space. Typically an X and Y variable. However the only limitations are that all variables are numeric and the number of variables must be at least one.

cellsize

the size of the smallest GRTS cell for each dimension.

samplesize

the required sample size

availableLevels

the number of available GRTS levels in the database. These must be named L01, L02, ... Currently available levels is limited to 99

reset

logical value. If FALSE the current GRTS randomisation is completed. If TRUE a new GRTS randomisation will start.


GRTS documentation built on May 2, 2019, 6:39 p.m.