[R] Hide return values

Chris89 chrisege at stud.ntnu.no
Sun Nov 17 10:21:56 CET 2013


Hi everyone!

I am in the process of writing an R-package and while writing a summary
function, I have come across a problem. I am able to print a summary table
(as in a standard glm() summary) by using *cat()* but the values I return is
also printet. 
How am I able to remove the return values from being printet, but still
being able to grab using e.g. summary$coeff??

Sincerly
Chris



--
View this message in context: http://r.789695.n4.nabble.com/Hide-return-values-tp4680611.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list