Description Usage Arguments Value
View source: R/retention_rate_curves.r
Calculate weekly retention numbers for individual users.
1 2 | calculateIndividualRetention(users = NULL, runDate = as.numeric(gsub(pattern
= "-", replacement = "", x = Sys.Date())), con = redshift_connection$con)
|
users |
A numeric vector of user ids. |
runDate |
A dateid of the form yyyymmdd (numeric). All dates after the runDate will be filtered out. |
con |
Database connection to use for query. |
A data frame of the form (user_id, week, showed_up)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.