new_bp_model: model class that can be used for inference and simulation...

Description Usage Arguments Value

View source: R/bp_model.R

Description

model class that can be used for inference and simulation constructor for object of class bp_model

Usage

1
new_bp_model(e_mat, p_vec, func_deps, nparam, ndep)

Arguments

e_mat

The matrix of birth events that can occur in the brnaching process. Dimensions nevents x ntypes

p_vec

A vector containing the parent type for each of the birth events in e_mat. Dimensions nevents x 1

func_deps

A vector of expressions encoding how each rate depends on the parameters of the model and a set of dependent variables.

nparam

The number of parameters in the model

ndep

The number of dependent variables which influence the rates of the model

Value

A new branching process model object


jproney/bpinference documentation built on April 19, 2021, 2:18 a.m.