I would like to know if there is a way of displaying all the data types of my data set on R like you can do on pandas with df.info().
I'm aware I could use
names(data)
and then for each individual feature do
class(data$Feature)
However, I wanted to know if there is a more efficient way of doing it.