how to obtain the count of numeric variables in a csv file using R So I'm having 28 columns with numeric variables and some categorial variables. I know I could use class(datasheet$variablename) to find out if a specific variable is integer or factor. But I have multiple columns and I'm wondering if there's a quicker way to count how many numeric variables do I have in total.
Completely new to R. Really just expecting some beginner functions and coding. Any advice will help and really appreciate!