predict_adoption: Predicts the adoption rate

Description Usage Arguments Examples

View source: R/predict-bass-model.R

Description

The adoption rate is defined as the proportion of adopters of a specific point of time

Usage

1

Arguments

obj

An object of class bayesian_bass

time

An integer value specifing the point in time

Examples

1
2
3
4
data(adoption_data)
model <- bayesian_bass_model()
fit <- bayesian_bass(data = adoption_data, var = "adoption", model = model)
predict_adoption(fit, time = 1)

jnshsrs/bayesianbass documentation built on Jan. 11, 2021, 1:40 a.m.