View source: R/argumentChecks.R
check_and_correct_data | R Documentation |
check_and_correct_data
checks that the data is set correctly and
throws an error if there is something wrong with the data.
check_and_correct_data(data, p)
data |
a numeric vector or class |
p |
a positive integer specifying the autoregressive order of the model. |
Returns the data as a class 'ts' object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.