Skip to content

Commit

Permalink
Add "array" to list of supported classes for use with tapply()
Browse files Browse the repository at this point in the history
  • Loading branch information
dcomtois committed Apr 4, 2022
1 parent 9d1237d commit 2dd6929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/view.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ view <- function(x,
escape.pipe = escape.pipe,
...)

} else if (inherits(x = x, what = c("stby", "by")) &&
} else if (inherits(x = x, what = c("stby", "by", "array")) &&
attr(x[[1]], "st_type") %in%
c("freq", "ctable", "descr", "dfSummary")) {

Expand Down

0 comments on commit 2dd6929

Please sign in to comment.