[R] Newbie question: plotting regression models

2004-11-03 Thread adelmaas
Greetings. Is there any way to get R to take a regression model object and draw a plot of the regression function? How about overlaying that plot over a scatterplot of the actual data? Thanks in advance for any help anyone can provide. Aaron - Aaron Solomonâ (âben Saul Josephâ) âAdelman E

Re: [R] Getting the real names of variables within functions

2004-09-20 Thread adelmaas
It works great now. Thanks, guys! Aaron On 20 ××× 2004, at 10:10, Duncan Murdoch wrote: On Mon, 20 Sep 2004 10:00:19 -0400, [EMAIL PROTECTED] wrote : Greetings. These days I find myself writing a lot of functions to handle routine things. One of these is a function to create a scatterplot of var

[R] Getting the real names of variables within functions

2004-09-20 Thread adelmaas
Greetings. These days I find myself writing a lot of functions to handle routine things. One of these is a function to create a scatterplot of variables and draw a lowessed line so I can get some idea if there's any relationship between them. lowessed.plot <- function(x, y) { plot(x, y)

[R] Precision in R--SOLVED!

2004-07-22 Thread adelmaas
sions returned identical results. Thanks again, everybody. Aaron - Aaron Solomon (ben Saul Joseph) Adelman E-mail: [EMAIL PROTECTED] Web site: http://people.musc.edu/~adelmaas/ AOL Instant Messenger & Yahoo! Messenger: Hiergargo AIM chat

Re: [R] Precision in R

2004-07-22 Thread adelmaas
On 22 ××× 2004, at 06:09, [EMAIL PROTECTED] wrote: Message: 5 Date: Wed, 21 Jul 2004 13:48:53 +0200 From: [EMAIL PROTECTED] ( Bj?rn-Helge Mevik ) Subject: Re: [R] Precision in R To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=iso-8859-1 Since you didn't say a

[R] Precision in R

2004-07-20 Thread adelmaas
(It doesn't seem to be in the R Language Definition.) Thanks in advance for any help anyone can provide. Aaron - Aaron Solomon (ben Saul Joseph) Adelman E-mail: [EMAIL PROTECTED] Web site: http://people.musc.edu/~adelmaas/ AOL Instant Messenger & Yahoo! Messenger: Hierg

[R] Newbie Poisson regression question

2004-05-16 Thread adelmaas
Greetings. I'm getting started learning R, and I'm trying to reproduce some models I've done previously in SAS. I'm trying to fit simple Poisson regressions, and I keep getting impossible results: the models predict negative numbers of cases for many observations. The code for the models are