Displaying 2 results from an estimated 2 matches for "sumproduct".
2019 Nov 15
2
S3 methods in packages. Change in R 4.0.0?
...object system. In my package I defined an S3 method for R generic
plot and three for print. To be free from the biological stuff I
generated here a simple example package:
https://github.com/ZytoHMGU/myfirstS3steps
A simple method? 'print.my1stClass' is defined there, which writes the
sumproduct of two numerical entries or numbers of a list, given a class
attribut matching the name of the method. Up to R 3.6.1 it works as one
is used to expect from S3 methods. After attaching the package in R
4.0.0, a call of 'print' for a list object of that class falls back to
'print.defa...
2019 Nov 16
0
S3 methods in packages. Change in R 4.0.0?
...defined an S3 method for R generic
> plot and three for print. To be free from the biological stuff I
> generated here a simple example package:
>
> https://github.com/ZytoHMGU/myfirstS3steps
>
> A simple method? 'print.my1stClass' is defined there, which writes the
> sumproduct of two numerical entries or numbers of a list, given a class
> attribut matching the name of the method. Up to R 3.6.1 it works as one
> is used to expect from S3 methods. After attaching the package in R
> 4.0.0, a call of 'print' for a list object of that class falls back to
>...