Description Usage Arguments Details Value See Also Examples
coresidence summary
1 | coresidence(eloobject)
|
eloobject |
result from |
This function provides a summary of the presence of individuals (and dyads) during the data sequence. This will be only informative if there was actually presence information supplied to elo.seq.
a list with three items:
$global (a numeric vector)n_inttotal number of interactions
n_dyadstotal number of dyads
prop_nocoresproportion of dyads that were never co-resident
mean_cores_propmean proportion over individuals of proportions of all other IDs the focal was co-resident with at some point
$dyads (a data.frame)id1, id2the IDs
n_intnumber of interactions for dyad
cores_durthe duration of co-residence
none_durthe duration for neither ID being present (both are absent)
one_durthe duration of time when one ID was present but not the other
$individuals (a data.frame)idthe ID
n_intnumber of interactions
presdaysdays of presence
cores_n_indco-resident with these individuals at some point
cores_propproportion of individuals with which ID was co-resident
stintsnumber of continuous bouts of presence
1 2 3 4 5 | set.seed(123)
IA <- randomsequence(nID = 10, avgIA = 20, presence = c(0.7, 0.8))
SEQ <- elo.seq(winner = IA$seqdat$winner, loser = IA$seqdat$loser, Date = IA$seqdat$Date,
presence = IA$pres, runcheck = FALSE, progressbar = FALSE)
coresidence(SEQ)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.