We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f78882c + c56b254 commit 1282c0bCopy full SHA for 1282c0b
NAMESPACE
@@ -5,6 +5,8 @@ S3method(as_gt,gs_design_summary)
5
S3method(as_gt,simtrial_gs_wlr)
6
S3method(as_rtf,fixed_design_summary)
7
S3method(as_rtf,gs_design_summary)
8
+S3method(print,fixed_design)
9
+S3method(print,gs_design)
10
S3method(summary,fixed_design)
11
S3method(summary,gs_design)
12
S3method(to_integer,fixed_design)
R/print.R
@@ -0,0 +1,11 @@
1
+# Simple print methods to suppress printing the list element `input` to the
2
+# console
3
+
4
+#' @export
+print.gs_design <- function(x, ...) {
+ print(x[names(x) != "input"])
+ invisible(x)
+}
+print.fixed_design <- print.gs_design
0 commit comments