This could possibly be a botched attempt at telling "the system" that one could 
use proportion() as synonymous with mean(). That would obviously fail due to 
scoping rules, but maybe an earlier version used <<- (?). Anyways, you could 
take the hint: proportions are just means of 0-1 variables... 

> On 26 Nov 2018, at 01:06 , David Winsemius <[email protected]> wrote:
> 
> The code in the function you are asking about does begin with:
> 
>    {
> 
>      proportion <- mean
> 
> However, that named entity, `proportion`,  is never referenced in  code that 
> follows, so it appears that the package author started down one path and then 
> abandoned that line of code and did something else. 

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: [email protected]  Priv: [email protected]

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to