We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb86be commit f73576cCopy full SHA for f73576c
NAMESPACE
@@ -62,6 +62,8 @@ S3method(as.labelled,labelled)
62
S3method(as.labelled,list)
63
S3method(as.logical,labelled)
64
S3method(as.numeric,labelled)
65
+S3method(build_compare,default)
66
+S3method(build_compare,numeric)
67
S3method(c,labelled)
68
S3method(calculate,data.frame)
69
S3method(calculate,list)
@@ -113,6 +115,7 @@ S3method(make_labels_from_names,list)
113
115
S3method(make_subheadings,default)
114
116
S3method(make_subheadings,etable)
117
S3method(mean,data.frame)
118
+S3method(median,data.frame)
119
S3method(merge,etable)
120
S3method(n_diff,data.frame)
121
S3method(n_diff,data.table)
@@ -679,3 +682,7 @@ import(matrixStats)
679
682
import(stats)
680
683
import(utils)
681
684
importFrom(data.table,data.table)
685
+importFrom(htmlTable,htmlTable)
686
+importFrom(htmlTable,htmlTableWidget)
687
+importFrom(htmlTable,htmlTableWidgetOutput)
688
+importFrom(htmlTable,interactiveTable)
R/S3_methods.R
@@ -16,8 +16,8 @@ mtfrm.labelled <- function(x) {
16
as.data.frame.labelled = function(x, ..., nm = paste(deparse(substitute(x), width.cutoff = 500L)) ){
17
if(length(class(x))>1){
18
# because we can have labelled matrices or factors with variable label
19
- NextMethod("as.data.frame", ..., nm = nm, stringsAsFactors = FALSE)
20
-
+ # NextMethod("as.data.frame", ..., nm = nm, stringsAsFactors = FALSE)
+ as.data.frame.vector(x, ..., nm = nm, stringsAsFactors = FALSE)
21
} else {
22
# this branch for other packages where "labelled' is single class rather than c("labelled", "numeric") etc.
23
R/sum.R
@@ -119,7 +119,7 @@ sd_col=function(..., na.rm = TRUE){
################################################
122
-# @export
+#' @exportS3Method
123
median.data.frame = function(x, ...) stats::median(as.matrix(x), ...)
124
125
#' @export
0 commit comments