Re: [Rd] NA printing

2011-01-25 Thread Marc Schwartz
On Jan 25, 2011, at 9:34 AM, Robin Hankin wrote: > Hi. > > I'm writing a print method for an object that includes a numeric matrix > for which > the lower diagonal elements are not meaningful. So I make the lower > diagonal of my matrix NA and print it. > > But my co-author does not like NA the

[Rd] NA printing

2011-01-25 Thread Robin Hankin
Hi. I'm writing a print method for an object that includes a numeric matrix for which the lower diagonal elements are not meaningful. So I make the lower diagonal of my matrix NA and print it. But my co-author does not like NA there and wants a dash. I have tried coercing the matrix to characte