Safely creating S3 Generics in R

前端 未结 1 671
一个人的身影
一个人的身影 2021-02-11 16:11

Henrik Bengtsson has provided the internet with a nice way of creating S3 generics in R without having to bother whether they were already created before... in 2002.

Wha

相关标签:
1条回答
  • 2021-02-11 16:44

    You can use isGenericS3 function of the R.methodsS3 package. Please see the code below:

    library(R.methodsS3)
    isGenericS3(anova)
    # [1] TRUE
    
    0 讨论(0)
提交回复
热议问题