check_and_correct_data {uGMAR} | R Documentation |
Check that the data is set correctly and correct if not
Description
check_and_correct_data
checks that the data is set correctly and
throws an error if there is something wrong with the data.
Usage
check_and_correct_data(data, p)
Arguments
data |
a numeric vector or class |
p |
a positive integer specifying the autoregressive order of the model. |
Value
Returns the data as a class 'ts' object.
[Package uGMAR version 3.6.0 Index]