DescTools (version 0.99.8.1)

Desc.Date: Describe a Date Vector

Description

Description interface for dates. We do here what seems reasonable for describing dates. We start with a short summary about length, number of NAs and extreme values, before we describe the frequencies of the weekdays and months, rounded up by a chi-square test.

Usage

## S3 method for class 'Date':
Desc(x, main = NULL, maxrows = 10, 
          digits = 3, plotit = getOption("plotit", FALSE), ...)

Arguments

x
the Date vector to be described.
main
the caption of the output.
maxrows
numeric. Defines the maximum number of rows to be reported. Default is 10 (most frequent ones). If maxrows < 1 then just as many rows, as the maxrows% most frequent factors are shown. Say if maxrows is set to 0.8 then as many rows are shown, tha
digits
integer. With how many digits shoud the relative frequencies be formatted? Default is 3.
plotit
boolean. Should a plot be created? The factor is plotted with the factor interface of PlotDesc. Default is FALSE.
...
further argument to be passed to methods.

See Also

Desc, PlotDesc

Examples

Run this code
Desc(d.pizza$date)

Run the code above in your browser using DataCamp Workspace