Guest User

Untitled

a guest
Feb 22nd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. summary.tbl_df = function (object, ...) {
  2. dots = rlang::quos(...)
  3. stopifnot(length(dots) == 1)
  4. name = rlang::quo_name(dots[[1]])
  5. do(object, as_data_frame(as.list(summary(.[[name]]))))
  6. }
Add Comment
Please, Sign In to add comment