r2ssm: Convert R object into SSM object

Description Usage Arguments

Description

Internal functions to convert R object into SSM

Usage

1
2
3
4
5
6
7
r2ssm_prior(prior)

r2ssm_resources(theta, covmat)

ssm2r_resources(ssm_theta)

r2ssm_populations(pop, state_variables, remainder = NULL, pop_size = NULL)

Arguments

prior

a list

theta

a vector

covmat

a matrix

ssm_theta

a list (usually a theta.json of SSM parsed by fromJSON)

pop

character

state_variables

character vector, name of all state variables

remainder

character, name of the state variable considered as a remainder.

pop_size

character, name of the parameter corresponding to the population size. Required if remainder is provided.


StateSpaceModels/ssminr documentation built on Feb. 7, 2020, 8:20 p.m.