freqReactor {socialh} | R Documentation |
Frequency of an animal was reactor
Description
Function to identify frequency that one animal was reactor regarding the herd at bins.
Usage
freqReactor(x)
Arguments
x |
dataset with replacements information. |
Details
freqReactor is only applied for dataset with columns ordained and named as follows: actor and reactor.
Value
Frequency of an animal was an reactor
Author(s)
Julia P. S. Valente, Matheus Deniz, Karolini T. de Sousa.
Examples
x <- data.frame(actor = c(6,3,5,4,2,1,3,5,8,6,9,3,2,1,1),
reactor = c(2,6,3,5,4,2,1,3,5,1,6,4,3,2,5))
freqR <- freqReactor(x)
print(freqR)
[Package socialh version 0.1.1 Index]