reveal {eye} | R Documentation |
reveal
Description
Shows commonly used summary statistics
Usage
reveal(x, by = NULL, dec = 1, funs = NULL)
Arguments
x |
data frame, numeric vector, or list of numeric vectors |
by |
character vector with the names of the columns. Can be several variables! |
dec |
how many decimals are displayed |
funs |
not really meant to be used at the moment - change the Summarizing functions with a named(!) list of functions |
Details
Character vectors (or character columns) will be removed.
Value
data frame
See Also
Other revealer:
reveal_methods
,
reveal_split()
Examples
x = y = z = c(rnorm(20), NA)
mylist <- list(x = x, y = y, z = z)
## vectors
reveal(x)
reveal(1:10)
## named or unnamed list
reveal(mylist)
set.seed(42)
mydf <- cbind(group = rep(letters[1:3], 4),
setNames(as.data.frame(replicate(c(rnorm(11), NA), n = 3)), letters[24:26]))
## data frames
reveal(mydf)
## data frames by group
reveal(mydf, by = "group")
[Package eye version 1.2.1 Index]