Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

New Post: Returning a time series to .net using r packages xts or zoo.

$
0
0
This code evaluate a list of predicted data. But why can't I print each of them in console in numeric format?
              const string command = "library('forecast'); birth <-scan('http://robjhyndman.com/tsdldata/data/nybirths.dat'); fit <- nnetar(birth); fcast <- forecast(fit); fcast";
              engine.Evaluate(command);
              var list = engine.GetSymbol("fcast").AsList();
              foreach (var x in list)
              {
                  Console.WriteLine(x);
              }

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>