Description Usage Arguments Value
View source: R/calculate_engagement.r
Calculate the engagement score of a post, from translated data.
1 2 | calculate_post_engagement(data_in, weight_comment = 5, weight_share = 10,
reach_modifier = 0.8)
|
data_in |
A data frame (or data table) consisting of 4 columns : post_id reach comments shares |
weight_comment, |
weight_share Weights for comment and share variables. |
reach_modifier |
Exponent to apply to the audience size (reach) |
A data frame consisting of 2 columns: post_id engagement_score
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.