social.plot {social}R Documentation

Social scatterplot

Description

A plot of social data against its socially lagged values

Usage

social.plot(x, S, ...)

Arguments

x

a numeric vector of social data.

S

a social correlation matrix.

...

further arguments to be passed to plot.

Value

None

Examples

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)


[Package social version 1.0 Index]