[R] pch and curve plotting

Margaret Riordan mriordan at nmrc.ucc.ie
Wed Aug 9 17:26:30 CEST 2000


Hi all,
I'm having two small problems and was wondering if you could help me
out.

Problem 1:
When I use pch to place a symbol onto a plot it seems to place the point
a little off the exact location. I have read the help file for this
which says to use "." as the plotting character, which will then produce
centered points but I am unclear as to how to do this.

Problem 2: How do I get R to draw a curve through a number of data
points rather than a straight line. From the description of the
functions scatter.smooth and loess.smooth, I think they are what I'm
looking for,
but when I try to run them in R Version 1.1.0, it returns the following
error
Error in sdgraph() : couldn't find function "scatter.smooth"

Your help as always is greatly appreciated
Margaret Riordan


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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