Convert a Row-wise Self-Report Matrix to a CSS Matrix with Missing Observations
Given a matrix in which the ith row corresponds to i's reported relations, sr2css
creates a graph stack in which each element represents a CSS slice with missing observations.
sr2css(net)
net |
an adjacency matrix. |
A cognitive social structure (CSS) is an nxnxn array in which the ith matrix corresponds to the ith actor's perception of the entire network. Here, we take a conventional self-report data structure and put it in CSS format for routines (such as bbnam
) which require this.
An array (graph stack) containing the CSS
A row-wise self-report matrix doesn't contain a great deal of data, and the data in question is certainly not an ignorable sample of the individual's CSS for most purposes. The provision of this routine should not be perceived as license to substitute SR for CSS data at will.
Carter T. Butts buttsc@uci.edu
Krackhardt, D. (1987). Cognitive Social Structures, 9, 109-134.
#Start with some random reports g<-rgraph(10) #Transform to CSS format c<-sr2css(g)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.