periodogram: Function to get the peak weeks from a spectral periodogram

Description Usage Arguments Author(s)

View source: R/periodogram.R

Description

Function to get the peak weeks from a spectral periodogram

Usage

1
periodogram(x, counts, start_week = c(2014, 1), period = 52, output = "weeks")

Arguments

x

dataset

counts

variable within x containing counts or rates

start_week

the first week in your dataset, defaults to c(2014, 1)

period

how many units in a year (52 for weeks)

Author(s)

Alex Spina


R4EPI/epitsa documentation built on Dec. 18, 2021, 8:45 a.m.