search for: houseyear_array

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

2009 Jun 04
3
Getting a column of values from a list - think I'm doing it the hard way
...quot;01/14/92", "02/28/93", "02/01/94", "02/01/95", "02/01/96") # ?as.Date HouseDatesFormatted<-as.Date(HouseDates, "%m/%d/%y") HouseDatesFormatted HouseDatesList<-strsplit(as.character(HouseDatesFormatted), "-", fixed=TRUE) HouseYear_array<-NULL length_array<-length(HouseDatesList) for(ii in 1:length_array) { HouseYear<-HouseDatesList[[ii]][1] HouseYear_array<-c(HouseYear_array, HouseYear) } as.character(HouseYear_array) # Desired: # [1] "1990" "1991" "1992" &quo...
2009 Jun 04
3
Understanding R Hist() Results...
Think I'm missing something to understand what is going on with hist(...) http://n2.nabble.com/What-is-going-on-with-Histogram-Plots-td3022645.html For my example I count 7 unique years, however, on the histogram there only 6. It looks like the bin to the left of the tic mark on the x-axis represents the number of entries for that year, i.e. Frequency. I guess it looks like the bin for