Description Usage Arguments Value Author(s) Examples
View source: R/RevActUserProduct.R
It calculates the accounting matrix for each user and product given date, subscription data and product category.
1 | RevActUserProduct(datall_revenue, dates, dates_full, type)
|
datall_revenue |
daily revenue data, need to have columns: user_id, Product, active_date, MRR |
dates |
a date vector (have to be date type) |
dates_full |
a full range of dates |
type |
a vector of product names |
A revenue accounting matrix is returned for each day, user and product
Hui Lin, longqiman@gmail.com
1 2 3 4 5 | ## Not run:
team <- c("netlify_team_premium_monthly","Teams","netlify_team_plus_monthly","netlify_team_plus_yearly")
res_0 = RevActUserProduct(total_revenue, dates, team)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.