Package: spdgp 0.2.0
spdgp: Simulate Spatial Data Generation Processes
Provides functionality for simulating data generation processes across various spatial regression models, conceptually aligned with the 'dgp' module of the 'Python' library 'spreg' <https://pysal.org/spreg/api.html#dgp>.
Authors:
spdgp_0.2.0.tar.gz
spdgp_0.2.0.zip(r-4.7-any)spdgp_0.2.0.zip(r-4.6-any)spdgp_0.2.0.zip(r-4.5-any)
spdgp_0.2.0.tgz(r-4.6-any)spdgp_0.2.0.tgz(r-4.5-any)
spdgp_0.2.0.tar.gz(r-4.7-any)spdgp_0.2.0.tar.gz(r-4.6-any)
spdgp_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
spdgp/json (API)
| # Install 'spdgp' in R: |
| install.packages('spdgp', repos = c('https://josiahparry.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/josiahparry/spdgp/issues
Pkgdown/docs site:https://josiahparry.github.io
Last updated from:23d1300f40. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 126 | ||
| source / vignettes | OK | 231 | ||
| linux-release | OK | 143 | ||
| macos-release | OK | 130 | ||
| macos-oldrel | OK | 125 | ||
| windows-devel | OK | 107 | ||
| windows-release | OK | 96 | ||
| windows-oldrel | OK | 96 | ||
| wasm-release | OK | 111 |
Exports:make_errormake_square_gridmake_wxmake_wxgmake_xmake_x_bivariatemake_x_normalmake_x_uniformmake_xbsim_durbinsim_errorsim_gnssim_grid_listwsim_messsim_olssim_sarsim_sararsim_semsim_slxsim_slx_error
Dependencies:backportsbootcheckmateclassclassIntclicodacodetoolsdata.tableDBIdeldire1071FormulagenericsglueinsightKernSmoothlatticeLearnBayeslifecyclemarginaleffectsMASSMatrixmultcompmvtnormnlmeproxyRcpprlangs2sandwichsfsmoothmestspspatialregspDataspdepsurvivalTH.dataunitsvctrswkzoo
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Simulate an error term | make_error |
| Create a square grid | make_square_grid |
| Create Spatial Lags of variables | make_wx |
| Calculate the effect of spatially lagged X variables | make_wxg |
| Simulate X variables | make_x make_x_bivariate make_x_normal make_x_uniform |
| Calculate predicted X values based on coefficients | make_xb |
| Simulate the Spatial Durbin Model | sim_durbin |
| Simulate Spatial Error Process | sim_error |
| Simulate General Nested Model | sim_gns |
| Generate spatial weights matrix for a grid | sim_grid_listw |
| Simiulate Matrix Exponential Spatial Lag Model | sim_mess |
| Simulate OLS | sim_ols |
| Simulate Spatial Lag Model (SAR) | sim_sar |
| Simulate the Spatial Autoregressive Model with Autoregressive Errors | sim_sarar |
| Simulate Spatial Error Model (SEM) | sim_sem |
| Simulate Spatially Lagged X (SLX) model | sim_slx |
| Simulate Spatially Lagged X Error Model | sim_slx_error |
