mcmc_leaf: The mcmc sampling of the non-homogenous Poisson process.

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

mcmc_leaf returns the sample from the posterior distribution.

Usage

1
mcmc_leaf(data, a0, b0, samp = 1000L)

Arguments

data

Data frame with all records.

a0, b0

Innitial parameters of the model.

Value

It returns sample from the posterior distribution.

Examples

1
2
df<- data.frame(t_1=c(10,60,100),t_2=c(20,80,130))
mcmc_leaf(df,0.062,0.056)

holaanna/contactsimulator documentation built on Dec. 2, 2019, 2:39 a.m.