describe: Get a description of object x

Description Usage Arguments Value Examples

View source: R/describe.R

Description

Get a description of object x

Usage

1

Arguments

x

Any object. Currently supported are all R classes, plus matrices, data frames and lists.

Value

A tibble with usual properties such as length, size, and attributes such as names, dimensions if apply

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Not run: 
x <- NULL
describe(x)

x <- numeric()
describe(x)

x <- "hey"
describe(x)

x <- seq(0.01, 0.05, 0.01)
describe(x)

x <- 1:10
describe(x)

x <- matrix()
describe(x)

x <- mtcars
describe(x)

x <- data.frame()
describe(x)

x <- list(list(1:10), 1:2)
describe(x)

x <- list()
describe(x)

x <- list(1:10, 1:2)
describe(x)



## End(Not run)

cimentadaj/cimentadaj documentation built on Dec. 1, 2019, 5:22 p.m.