Description Usage Arguments Value Examples
A function to extract the Bass model coefficients
1 2 | ## S3 method for class 'bayesian_bass'
coef(x)
|
x |
An bayesian_bass object |
A numeric vector containing the coeficients where the first element is p and the second is q
1 2 3 4 | data(adoption_data)
model <- bayesian_bass_model()
fit <- bayesian_bass(data = adoption_data, var = "adoption", model = model)
coef(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.