on-internet
← Community

what is the object type of mean in R?

Stack Overflow ·

I am looking for the real object type of some functions in R, for example, I can not find out the object type of mean function. > library(pryr) > otype(mean) [1] "base" > ftype(mean) [1] "s3" "generic" Sometimes the mean function is S3 and sometimes it is base!

Comments

Sign in or sign up to comment and upvote.

No comments yet.