I would like to know how to quickly find the specific function called by a generic function for a specific object. Example :
library(spatial)
data(redwood)
K <- Kest(redwood)
plot(K)
This is not an usual plot, it's a plot build for a Kest()
object. So to investigate in order to find the function used, I do :
class(K)
I get
"fv" "data.frame"
I guess it is plot.fv
?plot.fv
Yey ! But I'm sure there a more efficient way than guessing. Anyone ?