squashRetentionList: Convert a retentionList to a single data frame that's ready...

Description Usage Arguments Value

View source: R/display.r

Description

Convert a retentionList to a single data frame that's ready for plotting.

Usage

1
squashRetentionList(retentionList)

Arguments

retentionList

The result of calling clustApply(FUN=calculateWeeklyRetention) on a userClust object.

Value

A data.frame of the form (cluster, <additional variables> , relative_session_week, pct_active). Here, <additional variables> represents the variables which appear in the extraGroupings parameter of the clustApply call.


johnchower/oneD7 documentation built on May 19, 2019, 4:21 p.m.