social.plot: Social scatterplot

Description Usage Arguments Value Examples

Description

A plot of social data against its socially lagged values

Usage

1

Arguments

x

a numeric vector of social data.

S

a social correlation matrix.

...

further arguments to be passed to plot.

Value

None

Examples

1
2
3
4
5
6
7
8
9
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)

social documentation built on May 2, 2019, 12:36 p.m.

Related to social.plot in social...