ste_calc_toevent: Calculate STE on each occasion

Description Usage Arguments Value Examples

View source: R/ste_calc_toevent.R

Description

Calculate STE on each occasion

Usage

1
ste_calc_toevent(df, occ, effort)

Arguments

df

df object

occ

occasions

effort

effort from effort_fn()

Value

a dataframe with the same rows as occ, with a STE column

Examples

1
2
3
4
5
6
  occ <- build_occ(samp_freq = 3600, 
            samp_length = 10,
            study_start = study_dates[1],
            study_end = study_dates[2])
 eff <- effort_fn(deploy, occ)
 ste_calc_toevent(df, occ, eff)

annam21/TTE.STE.IS documentation built on Dec. 24, 2021, 8:42 a.m.