Skip to content

print.logLik

3 messages · Martin Maechler, Roger Koenker

#
I have a vector of logLik values that I'd like to return and it would  
be nice
if the the print method didn't run them together.  Could I make a plea  
for
using sep = " ", rather than sep = "" in print.logLik?

url:    www.econ.uiuc.edu/~roger                Roger Koenker
email   rkoenker at uiuc.edu                       Department of Economics
vox:    217-333-4558                            University of Illinois
fax:    217-244-6678                            Champaign, IL 61820
#
rk> I have a vector of logLik values that I'd like to return and it would  
    rk> be nice
    rk> if the the print method didn't run them together.  Could I make a plea  
    rk> for
    rk> using sep = " ", rather than sep = "" in print.logLik?

well, "yes" to the plea to make the method ameanable to better
printing of *several* values,
but "no" to just changing sep there:
We'd want to implement a change which is compatible
for the usual cases of having only one value 
and your propsal would change all those outputs as well.

Wouldn't you even prefer to see something like

	 'log.Lik' 12.3, 7.89, 34.2  (df = 3)

i.e., with "," between the values?

Regards,
Martin
#
Commas would be fine especially if there were  spaces too,
as in your example.  I was just trying to suggest something
mimimalist ;-)

Cheers,
Roger
On Feb 23, 2008, at 11:21 AM, Martin Maechler wrote: