Description Usage Arguments Details Value Note Author(s) References See Also Examples
The mean of all pairwise Pearson correlations coefficients (ri) of the numbers of open flowers per day (xti) of all individuals within a population.
1 | SI3(dd, pop, ind)
|
dd |
Flowering data. |
pop |
ID of population. |
ind |
ID of individual. |
si3=mean(cor(xit))
si3 |
Among-individual synchrony index of Koenig (2003). |
ri |
All pairwise Pearson correlations coefficients (ri) of xit. |
xit |
The numbers of open flowers per day. |
nothing
WANG,XIE
[1]Koenig WD, Kelly D, Sork VL, Duncan RP, Elkinton JS, Peltonen MS, Westfall RD. Dissecting components of population-level variation in seed production and the evolution of masting behavior. Oikos. 2003;102:581~591.
nothing
1 2 3 4 5 6 7 8 9 10 11 12 | a1=c(0,1,1,1,0,0,0)
a2=c(0,1,0,1,1,0,0)
a3=c(0,0,0,1,1,1,0)
a4=c(1,0,0,1,1,0,1)
a5=c(0,0,1,1,1,0,1)
a6=c(0,0,0,1,1,1,1)
pop=c("pop1","pop1","pop1","pop2","pop2","pop2")
ind=c(1,2,3,1,2,3)
dd=rbind(a1,a2,a3,a4,a5,a6)
colnames(dd)=c("D5/1","D5/2","D5/3","D5/4","D5/5","D5/6","D5/7")
C=SI3(dd,as.matrix(pop),as.matrix(ind))
C
|
[1] "pop1"
[1] "pop1 Xip- numbers of open flowers per day"
pop1 - 1 pop1 - 2 pop1 - 3
D5.1 0 0 0
D5.2 1 1 0
D5.3 1 0 0
D5.4 1 1 1
D5.5 0 1 1
D5.6 0 0 1
[1] "pop1 ri- all pairwise Pearson correlations coefficients (ri) of xit"
pop1 - 1 pop1 - 2 pop1 - 3
pop1 - 1 1.0000000 0.3333333 -0.3333333
pop1 - 2 0.3333333 1.0000000 0.3333333
pop1 - 3 -0.3333333 0.3333333 1.0000000
[1] "pop2"
[1] "pop2 Xip- numbers of open flowers per day"
pop2 - 1 pop2 - 2 pop2 - 3
D5.1 1 0 0
D5.2 0 0 0
D5.3 0 1 0
D5.4 1 1 1
D5.6 0 0 1
[1] "pop2 ri- all pairwise Pearson correlations coefficients (ri) of xit"
pop2 - 1 pop2 - 2 pop2 - 3
pop2 - 1 1.0000000 0.1666667 0.1666667
pop2 - 2 0.1666667 1.0000000 0.1666667
pop2 - 3 0.1666667 0.1666667 1.0000000
[1] "SI3:the mean of ri"
$Result
pop1 pop2
SI3 0.1111111 0.1666667
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.