View source: R/gen_air_model_matrix.r
gen_air_model_matrix | R Documentation |
Generates a matrix with coefficient estimates from the fractional airline model, generated by the JDemtetra+ high dimension modeling R routines
gen_air_model_matrix( this_est, xreg_names = NULL, this_week = NULL, this_year = NULL )
this_est |
A list object generated by the estimation procedure of the fractional airline model |
xreg_names |
Character vector; Names of the user-defined regression variables. |
this_week |
Numeric vector; Week of each observation. Default: NULL |
this_year |
Numeric vector; Year of each observation. Default: NULL |
Generate matrix of model parameters estimated for the fractional airline model
ic_default_est <- rjd3highfreq::fractionalAirlineEstimation(ic_obs, periods=c(365.25/7), x=ic_default_matrix) ic_default_model <- gen_air_model_matrix(ic_default_est, xreg_names = colnames(ic_default_matrix), this_week = ic_week, this_year = ic_year)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.