s4
How to properly document S4 "[" and “[<-“ methods using roxygen?
Below I posted a mini example in which I want do write documentation for an “[“ method for a S4 class. Does someone know how to properly document a method for the generic \"[\" using roxygen and S4?[详细]
2023-01-29 10:01 分类:问答When does it pay off to use S4 methods in R programming
I program regularly in R in a professional context, and I write packages for clients or co-workers as well. Some of the programmers here have a Java backgroun开发者_如何学编程d and insist on doing eve[详细]
2023-01-13 13:05 分类:问答How to patch an S4 method in an R package?
If you find a bug in a package, it\'s usually possible to patch the problem with fixInNamespace, e.g. fixInNamespace(\"mean.default\", \"base\").[详细]
2022-12-30 02:36 分类:问答In R, how do I set an S4 class based on another object's class
I need to create an object of type ShortReadQ from Bioconductor\'s ShortRead library. ShortReadQ \'signature(sread = \"DNAStringSet\", quality =[详细]
2022-12-21 11:12 分类:问答How to export data from ROCR package
I am trying to export biometric data from an analysis using the ROCR package.Here is the code that I\'ve done so far:[详细]
2022-12-11 16:45 分类:问答