X.3D: Input data X.3D

Description Usage Format Details References Examples

Description

Simulated input data (in stacked array format)

Usage

1

Format

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

Details

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.

References

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

Examples

1

Example output

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

spselect documentation built on May 2, 2019, 3:32 a.m.