nobs.GNARfit | R Documentation |
nobs
returns the number of obervations (T) of the input multivariate time series in the GNARfit
function.
## S3 method for class 'GNARfit'
nobs(object,...)
object |
the output of a GNARfit or GNARpredict call |
... |
additional arguments, unused here. |
S3 method for class "GNARfit".
An integer specifying the number of rows in the input vts
to the GNARfit function.
#observations of example fiveVTS
nobs(GNARfit())
#check this is the same as number of rows in fiveVTS
all.equal(nobs(GNARfit()), nrow(fiveVTS))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.