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

New Post: Liner Regression results....

$
0
0
PhilBoyd,

try the following:
var interestingObject = engine.GetSymbol("model");
var interestingObject = engine.GetSymbol("coef");

another way would be to set your evaluation to a variable:
var result = engine.Evaluate("model = lm(a~b)");
var result = engine.Evaluate("coef<-coefficients(model)");

either way, you'll get some sort of SymbolicExpression object back from the engine. that you can play with.

Good luck.

Viewing all articles
Browse latest Browse all 1634

Trending Articles



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