Description Usage Arguments Examples
View source: R/CaptiveIndex.function.R
This function calculates the sociality measure using the data created from the DataCreate Function.
1 | CaptiveIndex(x, Weight.1, Weight.2)
|
x |
is the output dataframe from the /codeDataCreate function |
Weight.1 |
Input Nearest Neighbour Weight from /codeWeights function |
Weight.2 |
Input Interaction Distance Weight from /codeWeights function |
1 2 3 4 5 6 | data(giraffe)
W<-Weights (giraffe)
NN.ID <- DataCreate (giraffe)
head (NN.ID)
Results<-CaptiveIndex (NN.ID, W$NN, W$IDist)
head (Results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.