stan_exp_model: Bayesian exponential model using stan

View source: R/stan_exp_model.R

stan_exp_modelR Documentation

Bayesian exponential model using stan

Description

Bayesian exponential model using stan

Usage

stan_exp_model(X, Y, N, iter = 5000, warmup = 1000, cores = 1)

Arguments

X

date vector.

Y

Numeric vector of number of positive samples

N

Numeric vector of total number of samples

...

Arguments passed to rstan::sampling (iter, warmup).

Value

An object of class stanfit returned by rstan::sampling

Load and run stan model


mrc-ide/reactidd documentation built on May 12, 2024, 11:47 a.m.