get_viral_score: Viral score is the total reaction of the system to a single...

View source: R/model.R

get_viral_scoreR Documentation

Viral score is the total reaction of the system to a single promotion, i.e. the expected cascade size started by a single event of magnitude

Description

Viral score is the total reaction of the system to a single promotion, i.e. the expected cascade size started by a single event of magnitude

Usage

get_viral_score(model, m_0 = NULL)

Arguments

model

A model object for computing the branching factor.

m_0

The magnitude of the initial post for computing its viral score. The first magnitude value in model$data[[1]] will be used if not provided.

Value

A single number, the viral score of the given model


behavioral-ds/evently documentation built on Feb. 3, 2023, 9:42 a.m.