Skip to contents

Compute a vector giving the number of days in a set of periods, given equal length vectors of the start date and end date of these periods. This

Usage

num_days(start_date, end_date)

num_days_util(start_date, end_date)

Arguments

start_date

Vector of period starting dates

end_date

Vector of period ending dates

Functions

  • num_days_util(): Low-level interface for `num_days`.