[R] 2 functions with same name - what to do to get the one I want

2011-01-26 Thread pdb
There seems to be 2 functions call ecdf... http://lib.stat.cmu.edu/S/Harrell/help/Hmisc/html/ecdf.html http://127.0.0.1:11885/library/stats/html/ecdf.html How do I get the one ecdf {Hmisc} to run instead of the ecdf {stats} A pointer in the right direction would be greatly appreciated.

Re: [R] 2 functions with same name - what to do to get the one I want

2011-01-26 Thread Dennis Murphy
Hi: It's in your message: :) Hmisc:::ecdf(...) indicates use of the ecdf function in package Hmisc. HTH, Dennis On Wed, Jan 26, 2011 at 2:38 AM, pdb ph...@philbrierley.com wrote: There seems to be 2 functions call ecdf... http://lib.stat.cmu.edu/S/Harrell/help/Hmisc/html/ecdf.html

Re: [R] 2 functions with same name - what to do to get the one I want

2011-01-26 Thread pdb
Thanks for the quick response, but that doesn't seem to help What do I need to do to get it to work? Hmisc:::ecdf(...) Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : object 'ecdf' not found -- View this message in context:

Re: [R] 2 functions with same name - what to do to get the one I want

2011-01-26 Thread Dennis Murphy
The function in Hmisc is Ecdf(): u - rnorm(100) Hmisc:::Ecdf(u) D. On Wed, Jan 26, 2011 at 2:58 AM, pdb ph...@philbrierley.com wrote: Thanks for the quick response, but that doesn't seem to help What do I need to do to get it to work? Hmisc:::ecdf(...) Error in get(name, envir =

Re: [R] 2 functions with same name - what to do to get the one I want

2011-01-26 Thread David Winsemius
On Jan 26, 2011, at 5:38 AM, pdb wrote: There seems to be 2 functions call ecdf... http://lib.stat.cmu.edu/S/Harrell/help/Hmisc/html/ecdf.html Apparently that used to be its name and that some time in the intervening 10 years the name was changed to Ecdf. The Statlib repository has