data_type {rcollectadhd} | R Documentation |
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.
data_type(data)
data |
The data frame in question. |
A list of the data type in each column of the data frame.
data_type(mtcars)