calculate_post_engagement: Calculate the engagement score of a post, from translated...

Description Usage Arguments Value

View source: R/calculate_engagement.r

Description

Calculate the engagement score of a post, from translated data.

Usage

1
2
calculate_post_engagement(data_in, weight_comment = 5, weight_share = 10,
  reach_modifier = 0.8)

Arguments

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)

Value

A data frame consisting of 2 columns: post_id engagement_score


johnchower/gloograph documentation built on May 19, 2019, 3:03 p.m.