Perform a GRTS sampling on a database table via ODBC
1 2 |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.