data_type: List the data type in each column of the data frame

View source: R/data_type.R

data_typeR Documentation

List the data type in each column of the data frame

Description

data_type() is a function that returns a list which contains the data type in each of the columns in a data frame. If a column contains more than one type of data, it will list both.

Usage

data_type(data)

Arguments

data

The data frame in question.

Value

A list of the data type in each column of the data frame.

Examples

data_type(mtcars)


rcollectadhd documentation built on Nov. 1, 2024, 5:07 p.m.