count_signups: Count signups per week (as total, and as perentage of...

Description Usage Arguments Value

Description

Count signups per week (as total, and as perentage of signups).

Usage

1
2
count_signups(relative_pa_datetimes, user_oneD7, range_beginning,
  user_set = NULL)

Arguments

relative_pa_datetimes

A data frame: (user_id, datetime) giving the moments when a user took a platform action.

user_oneD7

A data frame: (user_id oneD7) that tells us which users are 1D7s.

range_beginning

A data.table with a single column of dates which denote the first days of each date range.

user_set

A subset of users to restrict the calculation to. If not set (ie NULL) then all users available in relative_pa_datetimes are used.

Value

A data frame: (week_beginning, number_of_signups)


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