Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logical inconsistency between class and method #1726

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 27, 2022

  1. Logical inconsistency between class and method

    For a first-time reader of R's S3 system concepts, it goes without saying that `factor` is a method. It's actually the class. In the context of factors, for which the text is intended to explain sending the `print.factor` method, there are only two methods in question:
    
    1 - `print` which is the generic function to which we must entrust the sending of the appropriate method based, normally, on the class of the first argument;
    2 - `print.factor` which will be the appropriate method dispatched by the generic `print` function.
    
    Best regards.
    prdm0 authored Apr 27, 2022
    Configuration menu
    Copy the full SHA
    a3663d8 View commit details
    Browse the repository at this point in the history