Description Usage Arguments Value Author(s) Examples
calculate Elo ratings from an interaction matrix based on randomly generated sequences
1 2 3 4 5 6 7 |
interactionmatrix |
square interaction matrix with winner in rows and
losers in columns, for example the output from
|
runs |
number of randomly generated sequences based on the interactions
in the |
normprob |
logical (by default |
k |
numeric, factor k that determines the maximum change in
ratings. By default |
progressbar |
logical, should progress bars be displayed, by default
|
list of length 2. The first element contains a matrix with the final rating of each individual from each random sequence. IDs are in the columns, each run is represented as one row. The second element of the list contains the original interaction matrix.
Christof Neumann
1 2 3 4 5 |
Loading required package: zoo
Attaching package: ‘zoo’
The following objects are masked from ‘package:base’:
as.Date, as.Date.numeric
Loading required package: sna
Loading required package: statnet.common
Attaching package: ‘statnet.common’
The following object is masked from ‘package:base’:
order
Loading required package: network
network: Classes for Relational Data
Version 1.16.1 created on 2020-10-06.
copyright (c) 2005, Carter T. Butts, University of California-Irvine
Mark S. Handcock, University of California -- Los Angeles
David R. Hunter, Penn State University
Martina Morris, University of Washington
Skye Bender-deMoll, University of Washington
For citation information, type citation("network").
Type help("network-package") to get started.
sna: Tools for Social Network Analysis
Version 2.6 created on 2020-10-5.
copyright (c) 2005, Carter T. Butts, University of California-Irvine
For citation information, type citation("sna").
Type help(package="sna") to get started.
ID avg
a a 814.0
b b 1072.7
c c 1140.0
d d 1087.6
e e 900.6
f f 946.4
g g 992.9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.