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.
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.