View source: R/prepare_stcos_demo.R
prepare_stcos_demo | R Documentation |
Create demo data based on ACS example, making a few simple model choices. The purpose of this function is to facilitate examples in other functions. Uses functions in the package to create model terms from shapefiles.
prepare_stcos_demo(num_knots_sp = 200, basis_mc_reps = 200, eigval_prop = 0.65)
num_knots_sp |
Number of spatial knots to use in areal space-time basis. |
basis_mc_reps |
Number of monte carlo reps to use in areal space-time basis. |
eigval_prop |
Proportion of variability to keep in dimension reduction of basis expansions. |
A list containing the following:
z
direct estimates.
v
direct variance estimates.
H
overlap matrix.
S
design matrix of basis expansion.
K
covariance matrix of the random effect.
## Not run:
out = prepare_stcos_demo()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.