I\'m new to R and I\'m trying to implement an expanding function on a Markow Switching GARCH. Let SX5E be an array of log-returns (num[1:2566]). I have written the
SX5E