I want to see, how sctest of the strucchange package is implemented.
I install and load the package:
install.packages("strucchange")
library(strucchange)
Now I want to look at the implementation and I do:
sctest
But this gives only
> sctest
function (x, ...) 
{
    UseMethod("sctest")
}
<environment: namespace:strucchange>
So I tried getAnywhere(sctest), but this does also not help me. So how can I look at the code?
I looked at Looking at internal Methods and the R Inferno.
EDIT: I tried
 methods(sctest) 
this gives me
[1] sctest.efp*     sctest.formula* sctest.Fstats*  sctest.gefp*   
   Non-visible functions are asterisked
Now I can use getAnywhere() but which of these functions is the right one for me?
 
    