[Rcpp-devel] reading the summary in Rinside

Dirk Eddelbuettel edd at debian.org
Thu Dec 29 13:45:03 CET 2011


On 29 December 2011 at 16:31, Prasanna Kumar Nelam wrote:
| How can read I the summary(glm()) function data in Rinside through Rcpp.

Look at   examples/standard/rinside_sample3.cpp    which shows you how to get
at the coefficients via coef() on summary() of a lm() object.  

Use the same trick to access the underlying data in a glm() object,

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx


More information about the Rcpp-devel mailing list