count_days_of_activity_week1: Count the number of distinct days of activity each user had...

Description Usage Arguments Value

Description

Count the number of distinct days of activity each user had in their first week.

Usage

1
count_days_of_activity_week1(user_pa_datetime_relative)

Arguments

user_pa_datetime_relative

A data frame: (user_id, relative_datetime, relative_date). The result of calling find_relative_pa_datetimes.

Value

A data frame: (user_id, user_class). The field 'class' is numeric; it corresponds to the number of days of activity the user had in their first week.


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