Displaying 1 result from an estimated 1 matches for "years1500".
2005 Jul 06
3
plotting on a reverse log scale
...leyears1.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 calculate log(2000-year), but I'm not sure how to do the
plotting, do some minor tick marks
and label the major ones, say at 100 year intervals.
thanks,
-Michael
--
Michael Fr...