Description Usage Format Details References Examples
Simulated input data (in stacked array format)
1 |
A 20x3x3 stacked array with the following stacks:
ind
a numeric array containing an individual-level variable (x1)
ss1
a numeric array containing area-level variables (x2, x3) available at ss1
ss2
a numeric array containing area-level variables (x2, x3) available at ss2
The data consist of simulated variables, including an individual-level covariate (x1) and two area-level covariates (x2, x3) available at two different spatial scales (ss1, ss2). The data are in the form of a 3-D or stacked array, where each stack represents a particular level of covariates, including spatial scale. The first stack contains the individual-level variable; the second and third stacks contain the area-level variables at the ss1 and ss2 levels, respectively. Note that in cases where values are only present for a covariate at certain levels, that covariate is assigned missing values at all other levels.
Grant LP, Gennings C, Wheeler, DC. (2015). Selecting spatial scale of covariates in regression models of environmental exposures. Cancer Informatics, 14(S2), 81-96. doi: 10.4137/CIN.S17302
1 |
Loading required package: tester
Loading required package: magic
Loading required package: abind
Loading required package: pracma
Attaching package: 'pracma'
The following object is masked from 'package:magic':
magic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.