summary.reduce: Automatically create a summary for objects obtained from...

summary.reduceR Documentation

Automatically create a summary for objects obtained from reduce()

Description

Takes an object produced by reduce(), and counts new and lost customers.

Usage

## S3 method for class 'reduce'
summary(object, ..., period = "days", name = "count")

Arguments

object

reduce object produced by reduce()

...

names of columns to aggregate counts by

period

a character string indicating the period to aggregate on. Four options are available: "quarters", "months", "weeks", and "days" (the default option)

name

The name of the new column in the output. If omitted, it will default to count.

Value

data.frame


insurancerating documentation built on Dec. 28, 2022, 2:53 a.m.