sim2Dpredictr: Simulate Outcomes Using Spatially Dependent Design Matrices

Provides tools for simulating spatially dependent predictors (continuous or binary), which are used to generate scalar outcomes in a (generalized) linear model framework. Continuous predictors are generated using traditional multivariate normal distributions or Gauss Markov random fields with several correlation function approaches (e.g., see Rue (2001) <doi:10.1111/1467-9868.00288> and Furrer and Sain (2010) <doi:10.18637/jss.v036.i10>), while binary predictors are generated using a Boolean model (see Cressie and Wikle (2011, ISBN: 978-0-471-69274-4)). Parameter vectors exhibiting spatial clustering can also be easily specified by the user.

Getting started

Package details

AuthorJustin Leach [aut, cre, cph]
MaintainerJustin Leach <jleach@uab.edu>
LicenseGPL-3
Version0.1.1
URL https://github.com/jmleach-bst/sim2Dpredictr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("sim2Dpredictr")

Try the sim2Dpredictr package in your browser

Any scripts or data that you put into this service are public.

sim2Dpredictr documentation built on April 3, 2023, 5:06 p.m.