prunk {EloRating} | R Documentation |
unknown relationships
Description
unknown relationships
Usage
prunk(eloobject, daterange = NULL)
Arguments
eloobject |
output from |
daterange |
date range to be considered (character or Date of length 2), by default considers the entire date range of the sequence. In case the function works on a matrix this is ignored. |
Value
numeric, proportion of unknown relationships (and total N) when considering all possible dyads, and the same after accounting for co-residency. For matrices, considering co-residency is ignored.
Author(s)
Christof Neumann
Examples
data(adv); data(advpres)
x <- elo.seq(winner = adv$winner, loser = adv$loser, Date = adv$Date, presence = advpres)
prunk(x, c("2010-01-01", "2010-01-15"))
mat <- creatematrix(x, c("2010-01-01", "2010-01-15"))
prunk(mat)
[Package EloRating version 0.46.18 Index]