[R] wBoot Package

peter dalgaard pd@lgd @ending from gm@il@com
Mon Nov 26 10:41:28 CET 2018


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 <dwinsemius using comcast.net> 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: pd.mes using cbs.dk  Priv: PDalgd using gmail.com



More information about the R-help mailing list