calculate: 'calculate'

View source: R/calculate.R

calculateR Documentation

calculate

Description

Calculates main metrics

Usage

calculate(data, components, volume)

Arguments

data

A MetricData object.

components

A character indicating the revenue metric component to cohort.type; one of 'churn', 'expansion', 'contraction', 'retention', and 'net retention'.

volume

If TRUE, recurring revenue rather than customers is cohort.typed in calculations.

Value

A named vector showing churn.


Displayr/flipRevenueMetrics documentation built on June 14, 2025, 6:54 p.m.