S3 method dispatch on other arguments
Read OriginalThis technical article details the lesser-known capability of R's S3 object system to dispatch methods based on arguments other than the first. It uses the `svytotal` function from the survey package as a primary example, showing how it dispatches on its second `design` argument. The post explores various method implementations for different design classes and cites authoritative sources on the topic.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser