Describes an object.
Arguments
- x
- An R object (should be a - matrixor a- data.frame).
- ...
- Currently not used. 
See also
Other data summaries:
sparsity()
Examples
## Create a data matrix
X <- matrix(sample(0:9, 15, TRUE), nrow = 3, ncol = 5)
## Add NA
k <- sample(1:15, 3, FALSE)
X[k] <- NA
## Sparsity
sparsity(X)
#> [1] 0
## Quick description
describe(X)
#> 3 observations, 5 variables:
#> * 5 numeric variables.
#> * 0 categorial variables.
#> * 0 binary variables.
#> 
#> 3 missing values:
#> * 2 observations (67%) contain missing values.
#> * 3 variables (60%) contain missing values.
#> 
#> Data checking:
#> * 0% of numeric values are zero.
#> * 0 variables with no variance.
