Re: [R] trouble with small multiples on a date variable

2012-04-01 Thread Duncan Mackay
Hi David Are you having problems getting the data in or further down the track If it is dBase III or IV (opens in excel with the appropriate excel extension filter) you can use library(foreign) data <- read.dbf("d:/Cic/dbf/dsw3.dbf") > str(data) 'data.frame': 43730 obs. of 8 variables: $

[R] trouble with small multiples on a date variable

2012-03-31 Thread davideps
Hello, I am loading a DBF file into R via JGR and am having trouble creating small multiple histograms on a date variable. Hist() handles the variable correctly. But I've been unable to work with lattice or ggplot2 despite trying format() and as.POSIXct(). Dates are in the format "2010-05-15" and