Skip to contents

Convert words describing frequencies to corresponding numbers of days

Usage

freq_to_days(freq)

Arguments

freq

one of `"weekly"` (becomes `7`), `"4-weekly"` (becomes `28`), `"monthly"` (returns an error)