There is some R code ([url removed, login to view]) that won't run. It is supposed to download data from Yahoo and generate a plot of Kalman smoothing filter.
I need these changes:
1) Instead of getting data from Yahoo, it should read the attached file CSV and use that data
2) The script generates an error like this: "Error in structSSM(y = t, distribution = "Gaussian") : could not find function "structSSM" It seems this function has been removed from the KFAS package. I need the code fixed so that it works without it or with whatever other function replaced it.