View source: R/get_life_time.R
get_life_time | R Documentation |
通过新用户环比系数及老用户环比系数计算各自的生命周期。
get_life_time( retain_users_old_daily_true, ring_retain_new, prediction_retain_one, ring_retain_old, life_time_year )
retain_users_old_daily_true: |
需要计算的老用户数。 |
ring_retain_new: |
新用户的各段环比参数,可通过get_ring_retain()随机获得。 |
ring_retain_old: |
老用户的环比参数,可通过get_ring_retain()随机获得。 |
prediction_retain_one: |
计算生命周期时,预估未来新增的次日留存。 |
life_time_year: |
计算生命周期的时段(按年统计)。 |
生命周期的列表(life_time),包含新用户生命周期(new),老用户生命周期(old),每日留存(ring_retain_new_rates)
get_life_time(10, 7, 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.