describe | R Documentation |
Describe a dataset or variable (depending on input parameters)
describe(data, var, n, target, out = "text", ...)
data |
A dataset |
var |
A variable of the dataset |
n |
Weights variable for count-data |
target |
Target variable (0/1 or FALSE/TRUE) |
out |
Output format ("text"|"list") of variable description |
... |
Further arguments |
Description as table, text or list
# Load package
library(magrittr)
# Describe a dataset
iris %>% describe()
# Describe a variable
iris %>% describe(Species)
iris %>% describe(Sepal.Length)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.