Learn R Programming

flower (version 1.0)

RIpop: Flowering phenology index of Mahoro (2002) at poplulation level

Description

Relative to the formula of Mahoro (2002),we suggested the reference object (b) calculated in a polulation was better than in a individua. It measures the rank order of flowering for individual plants within a population.

Usage

RIpop(dd, pop, ind)

Arguments

dd
Flowering data.
pop
Group of Population.
ind
ID of individual.

Value

  • iindividuals
  • jtime during the flowering from beginning to pike of flowering p
  • rthe rank of each individual
  • aijflowers that had already open in the individual by the jth census day
  • bithe total number of flowers opening in the individual during the season
  • xijxij=aij/bi

Details

ri=sum(aij/bi);(j=1:p)

References

{[1]}{Mahoro, S. (2002). Individual flowering schedule, fruit set, and flower and seed predation in Vaccinium hirtum Thunb. (Ericaceae). Can. J. Bot. 80: 82-92. }

See Also

nothing

Examples

Run this code
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(0,0,0,1,1,0,1)
pop=c("pop1","pop1","pop2","pop2")
ind=c(1,2,1,2)
dd=rbind(a1,a2,a3,a4)
colnames(dd)=c("D5/1","D5/2","D5/3","D5/4","D5/5","D5/6","D5/7")
C=RIpop(dd,pop,ind)
C

Run the code above in your browser using DataLab