Displaying 1 result from an estimated 1 matches for "dechr".
Did you mean:
echr
2009 May 01
1
Plotting extra lines on scatterplot
...ng an extra line onto a scatterplot. I'm sure the answer
is quite simple but I am stumped.
The code I am using is:
headways <- read.table("headways.csv", header=TRUE, sep=",",
na.strings="", dec=".", strip.white=TRUE)
plot.new()
scatterplot(dechway~dechr, reg.line=FALSE, smooth=TRUE, labels=F,
boxplots='y', span=0.5, xlab="Time", ylab="Headway", ylim=c(0,9),
data=headways)
lines(headways$dechr, headways$schedule)
A subset of the dataset I'm working with is at
http://web.mit.edu/c64/www/headways.csv .
The extra l...