spatq_simsetup | R Documentation |
Convenience constructor when data follows simulation study directory
structure. See also new_spatq_setup
.
spatq_simsetup( study, repl, opmod, estmod = NULL, sub_df = NULL, spec_estd = NULL, root_dir = ".", max_T = NULL, index_step = 5, mesh_resolution = "coarse", init_fixef = TRUE, ... )
study |
Simulation study name |
repl |
Replicate number |
opmod |
Operating model |
estmod |
Estimation model |
sub_df |
Data frame indicating subsampling strategy; see
|
spec_estd |
List of logicals indicating which parameters are to be
estimated, as output |
root_dir |
Directory to load data from |
max_T |
Last year of data to include |
index_step |
Step for the index grid |
mesh_resolution |
Mesh resolution to pass to
|
init_fixef |
Use parameter estimates from model with only fixed effects as initial values? |
... |
Additional arguments to pass to |
A list with elements data
, parameters
, map
, and
random
, ready to be used as the arguments to
prepare_adfun
or passed to spatq_obj
John K Best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.