powered by
Describe a dataset or variable (depending on input parameters)
describe(data, var, n, target, out = "text", ...)
Description as table, text or list
A dataset
A variable of the dataset
Weights variable for count-data
Target variable (0/1 or FALSE/TRUE)
Output format ("text"|"list") of variable description
Further arguments
# Load package library(magrittr) # Describe a dataset iris %>% describe() # Describe a variable iris %>% describe(Species) iris %>% describe(Sepal.Length)
Run the code above in your browser using DataLab