sraMakeObject: Creates an object of class "srafit" (internal function)

sraMakeObjectR Documentation

Creates an object of class "srafit" (internal function)

Description

The content of an object of class srafit correponding to several models is very similar; this function initializes a new object and performs basic instructions.

Usage

sraMakeObject(sradata, model, start, fixed, FUNtimeseries)

Arguments

sradata

A data object generated by sraData.

model

The result of the call of mle.

start

The list of the starting values (for the function to know which parameters were active).

fixed

The list of the fixed values.

FUNtimeseries

The time series function, one among those listed in sraAutoregTimeseries.

Value

An object of class srafit (see sraAutoreg for more details).

Note

This function should not be called by the end user.

See Also

sraAutoreg, sraCstvar, and other mechanistic models, sraAutoregTimeseries.


sra documentation built on March 31, 2023, 9:31 p.m.