social.plot {social} | R Documentation |
A plot of social data against its socially lagged values
social.plot(x, S, ...)
x |
a numeric vector of social data. |
S |
a social correlation matrix. |
... |
further arguments to be passed to |
None
A = matrix(c(0,1,0,1,0, 1,0,0,1,1, 0,0,0,1,1, 1,1,1,0,0, 0,1,1,0,0), nrow=5) S = social.cor.matrix(A) x = rnorm(nrow(A)) social.plot(x, S, ylim=c(min(x),max(x)), xlab="x", ylab="Socially lagged x") abline(0, 1, lty=2)