Learn R Programming

timeDF (version 0.9.0)

summary.periodDF: Summarize periodDF S3 object

Description

summary function for periodDF S3 object.

Usage

# S3 method for periodDF
summary(object,...)

Value

List that have properties of periodDF object.

Arguments

object

S3 periodDF class

...

Further arguments passed to or from other methods.

Details

summary function for periodDF S3 object. This enables users to obtain the summary of periods.

See Also

periodDF-class

Examples

Run this code
# \dontshow{
    period_time = data.frame(
        start = c("2023-12-01 01:00:00",
                 "2023-12-01 02:00:00",
                 "2023-12-01 03:00:00",
                 "2023-12-02 04:00:00"),
        end = c("2023-12-01 01:00:00",
                 "2023-12-01 02:00:00",
                 "2023-12-01 03:00:00",
                 "2023-12-02 04:00:00")
    )
    periodDF = as.periodDF(period_time, "time")
# }
summary(periodDF)

Run the code above in your browser using DataLab