On Mon, Jul 30, 2012 at 7:12 AM, Ben Bolker wrote:
>
> Can anyone help me figure out the right way to import a method that is
> defined as S3 in one package and S4 in another?
>
> Specifically:
>
> profile() is defined as an S3 method in the stats package:
>
> function (fitted, ...)
> UseMeth
Can anyone help me figure out the right way to import a method that is
defined as S3 in one package and S4 in another?
Specifically:
profile() is defined as an S3 method in the stats package:
function (fitted, ...)
UseMethod("profile")
In stats4 it is defined as an S4 method:
stats4: