search for: mileyears3

Displaying 1 result from an estimated 1 matches for "mileyears3".

Did you mean: mileyears
2005 Jul 06
3
plotting on a reverse log scale
...mple, I'd like to create a density plot of such data with the horizontal axis reverse-logged, a transformation of this image: http://euclid.psych.yorku.ca/SCS/Gallery/milestone/Test/mileyears1.gif Some initial code to do a standard density plot looks like this: mileyears <- read.csv("mileyears3.csv", skip=1, col.names=c("key","year","where","add","junk")) mileyears <- mileyears[,2:4] years <- mileyears$year years1500 <- years[years>1500] dens <- density(years1500, from=1500, to=1990) plot(dens) rug(years1500) I could...