SMNlmecfit.creator {SMNlmec}R Documentation

Create SMNlmecfit Objects

Description

A function to create objects of class SMNlmecfit.

Usage

SMNlmecfit.creator(stan_object, model_criteria, dist_set, struc_set)

Arguments

stan_object

stanfit object from rstan.

model_criteria

list, model selection criteria.

dist_set

character, the name of distribution.

struc_set

character, the name of correlation structure.

Value

A SMNlmecfit object containing:

stan_object

A stanfit object from rstan::stan().

model_criteria

A list includes LPML, DIC, EAIC, EBIC, K-L divergence.

dist_set

The setting of distribution of the stan model.

struc_set

The setting of correlation structure of the stan model.


[Package SMNlmec version 0.1.0 Index]