count.date2: count date 2

View source: R/date.R

count.date2R Documentation

count date 2

Description

Make grouped data for detection and correction.

Usage

count.date2(
  ddate,
  cdate,
  date.min = NULL,
  date.max = Sys.time(),
  by = "1 month"
)

Arguments

ddate

A vector of character strings for detection dates.

cdate

A vector of character strings for correction dates.

date.min

A character string for date, indicating the starting date.

date.max

A character string for date, indicating the ending date.

by

A character string. A increment of date. "1 month", "1 day", etc. are available.

Note

The format of date is yyyy-mm-dd. NA means that the correction has not been done by the max date.


okamumu/Rsrat documentation built on Feb. 10, 2024, 11:07 p.m.