[R] CSV value not being read as it appears

Karl Ove Hufthammer karl at huftis.org
Mon Jan 17 18:40:42 CET 2011


David Scott wrote:

> As a further note, this is a reminder that whenever you get data via a
> spreadsheet the first thing to do is examine it and clean up any
> problems. A basic requirement is to tabulate any categorical variable.

I like using the ‘describe’ function in the ‘Hmisc’ package for this. If you 
run the result through the ‘latex’ function, you get an even nicer output, 
with small histograms for each numerical variable.

-- 
Karl Ove Hufthammer



More information about the R-help mailing list