search for: dftemp

Displaying 2 results from an estimated 2 matches for "dftemp".

Did you mean: ftemp
2012 Nov 08
2
Help Read File With Odd Characters
I have a large (105MB) data file, tab-delimited with a header. There are some odd characters at the beginning of the file that are preventing it from being read by R. > dfTemp = read.delim(filename) Error in make.names(col.names, unique = TRUE) : invalid multibyte string at '<ff><fe>m' When I view the file with head, I see: ??muni_code parcel_id? The file is too large to edit in a graphical text editor (gedit). I tried just dropping the header row...
2008 May 15
1
lattice histogram problem with integers values and nint
...bject, as I would with hist$count. Thanks in advance. Detail I have a dataset of approximately 170,000 rows, with a DayOfYear field. I want a histogram of the number of rows in each day of the year. I set up breaks from 0:365, and use this with hist, and the lattice histogram, e.g. histogram(dfTemp$DayOfYear,breaks=breaklist,type="count") If I use hist to display this, all values are under 600, everything is fine.. If I use lattice histogram on the full 365 days, either with nint=365, or breaks set from (0:366), I get 26 equally-spaced spurious peaks above 800 (that is, 26 days re...