Description interface for dates. We do here what seems resonable 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, xname = NULL, maxrows = 10,
digits = 3, plotit = FALSE, ...)
Arguments
x
the Date vector to be described.
xname
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.