Description Usage Arguments Value Examples
Fit an AR model with the chosen order
to each row of m
using ar
(so each row of m
is treated as a single
time series). The results are returned in a matrix whose
columns are the resulting AR coefficients.
1 | fit_AR_to_SAR(m, order = choose_order(m))
|
m |
A matrix. |
order |
An integer giving the order of the AR
model. The default uses |
A matrix of AR coefficients where each row corresponds to
one row of m
.
1 2 3 | filepath <- system.file("extdata", "MG_CC_sub_norm_testclip.tif", package="rsar")
m <- load_SAR_matrix(filepath)
ar_m <- fit_AR_to_SAR(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.