Been using SAS for 6 years and migrating across to R. I used to use proc contents to get a healthy description of a table, a characteristic and a data type.
Using str(tableName) I can see the type but not the vector position in a data frame.
Using name(tableName) I can see the names and positions of the vectors but not the type.
Using summary(tableName) I can see the quantiles/category but not the type easily or vector position.
Is there a way I can just get a list of
Name vectorPosition type min max avg med [..]
You can use
lapplyto call a functionon each column of the data.frame,
and compute all the quantities you want in that function.
But I personnally prefer to look at the data graphically:
the following function will draw a histogram and a quantile-quantile plot
for each numeric variable, and a barplot for each factor,
on a single page. If you have 20 to 30 variables, it should remain usable.