[R] help with the "pch" option in plot.locfit

Shige Song ssong at nicco.sscnet.ucla.edu
Mon Apr 8 00:48:43 CEST 2002

Dear All,

I am trying to plot a smoothed hazard funciton using the LOCFIT library.
Suppose my locfit model is "loc.fit", my plot command looks like this:

plot(loc.rw, lty="solid", pch=1, xlab="Age at Risk",
ylab="Hazard Rate", ylim=c(0, .5), lwd=2)

What's interesting is that whichever number I used in the "pch=" option,
I still get a line without any symbles. Is this something about the LOCFIT
library or I did something wrong?

I have four lines in my graph, without differetn symbles on different
lines,  it can be difficult to read.

Any help will be greatly appreciated.

Shige Song
Department of Sociology, UCLA

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list