Description Usage Arguments Value
View source: R/retention_rate_curves.r
Calculate the weekly retention rate curve given a group of users.
1 2 | calculateWeeklyRetention(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 (weekBeginning, pctActive)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.