From pdalgd at gmail.com  Mon Mar 27 10:57:24 2017
From: pdalgd at gmail.com (peter dalgaard)
Date: Mon, 27 Mar 2017 10:57:24 +0200
Subject: [Rd] Error in documentation for ?legend
In-Reply-To: <22744.50765.707153.795584@stat.math.ethz.ch>
References: <KL1PR0201MB1717D53AC14D190F7D424724DD3E0@KL1PR0201MB1717.apcprd02.prod.outlook.com>
	<F5449896-4994-4C28-8F32-FBE529D1C239@gmail.com>
	<KL1PR0201MB17179059B71D5E8509964F48DD310@KL1PR0201MB1717.apcprd02.prod.outlook.com>
	<22744.50765.707153.795584@stat.math.ethz.ch>
Message-ID: <2D551256-C282-4C83-871C-F38A8F51DEEA@gmail.com>


> On 27 Mar 2017, at 09:59 , Martin Maechler <maechler at stat.math.ethz.ch> wrote:
> 
> 
> (You did not understand Peter:  He *did* agree with you that
> there's no 'title.cex' argument  and explained why the oddity
> probably has happened in the distant past ..)


I was also pointing out that the help page specifically does NOT document any such argument - otherwise the self-tests would have found the inconsistency long ago. What it does have is a (false) hint that there might somewhere be something called title.cex defaulting to the value of cex. 

The main point is that when someone claims that there is inconsistency between documentation and code, the first thing I do is to check the (long) argument list, the second thing is the (even longer) list of documented arguments. Neither has title.cex. No version information was given, so I couldn't know whether it might have been fixed in one of the more recent releases, etc.

(I didn't fix it immediately on the off chance that the original author had actually planned to implement a title.cex feature. But he probably didn't.)

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



[Rd] Error in documentation for ?legend
peter dalgaard