This sub-routine will take vectors from a data frame for a single individual and phenophase and returns the timing of phenophases and the length of the phenophase

event_length(
  data = data,
  species_name = "Afzelia bipindensis",
  pheno = "leaf_turnover"
)

Arguments

data

junglerhythms data file

species_name

list of species

pheno

only one phenophase

Value

timing of when an event (value) switches between no event (0) and a observation of an event (1)

Details

df already needs to be a continuous timeline call function a ID level