lcd_fn: Find the lowest common denominator between occasions

Description Usage Arguments Value Examples

View source: R/lcd_fn.R

Description

Find the lowest common denominator between occasions

Usage

1
lcd_fn(occ)

Arguments

occ

occasions, a dataframe

Value

Returns a value: either the lowest common denominator between occasions if they are evenly spaced (equal to samp_freq if occ is built by build_occ) or 0 if occasions are not evenly spaced

Examples

1
2
3
4
5
  occ <- build_occ(samp_freq = 3600, 
            samp_length = 10,
            study_start = study_dates[1],
            study_end = study_dates[2])
 findfrq <- lcd_fn(occ)

annam21/spaceNtime documentation built on Dec. 12, 2021, 2:48 a.m.