make_weights {SAGM} | R Documentation |
make_weights
Description
Create 2 weight matrices to capture asymmetric spatial effects for strip-type intercropping designs.
Usage
make_weights(n)
Arguments
n |
Number of observations. |
Value
W_BA |
A |
W_AB |
A |
Author(s)
Sjoerd Hermes, Joost van Heerwaarden and Pariya Behrouzi
Maintainer: Sjoerd Hermes sjoerd.hermes@wur.nl
References
1. Hermes, S., van Heerwaarden, J., and Behrouzi, P. (2023). A Spatial Autoregressive Graphical Model with Applications in Intercropping. arXiv preprint, arXiv:2308.04325.
Examples
make_weights(20)
[Package SAGM version 1.0.0 Index]