Displaying 1 result from an estimated 1 matches for "showdistribut".
2001 Oct 04
3
printing out tables to a file using cat...
Hi, all. I'd like to print out a table to a file (I'm using
cat(...,file="foobar")). the problem is, cat doesn't print out the
headings for the table (making the table hard to interpret!). For
example:
> table(showdistribution(nw.109.transitions, interruptions[1]))
interruption opened-map
1 2
> cat(table(showdistribution(nw.109.transitions, interruptions[1])))
1 2
how do I get the first format to show up in a file?
thanks!
greg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....