Learn R Programming

datadictionary (version 1.0.1)

summarise_variable: Summarise a single variable

Description

Summarise a single variable

Usage

summarise_variable(dataset, column)

Value

A dataframe with a summary of the variable

Arguments

dataset

The dataset with the variable you wish to summarise

column

The column you wish to summarise as a quoted string

Examples

Run this code
 summarise_variable(mtcars, "mpg")

 summarise_variable(iris, "Species")

Run the code above in your browser using DataLab