sraMakeObject {sra} | R 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 |
model |
The result of the call of |
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 |
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
.
[Package sra version 0.1.4.1 Index]