Re: [R] Working with Numbers generated from Regression Output

2012-07-27 Thread David Winsemius
to:dwinsem...@comcast.net] Sent: 27 July 2012 14:41 To: Krunal Nanavati Cc: Jeff Newmiller; Jean V Adams; r-help@r-project.org Subject: Re: [R] Working with Numbers generated from Regression Output On Jul 27, 2012, at 12:14 AM, Krunal Nanavati wrote: Hi Jeff, Sorry for the previous email. I tr

Re: [R] Working with Numbers generated from Regression Output

2012-07-27 Thread Krunal Nanavati
9198 -Original Message- From: David Winsemius [mailto:dwinsem...@comcast.net] Sent: 27 July 2012 14:41 To: Krunal Nanavati Cc: Jeff Newmiller; Jean V Adams; r-help@r-project.org Subject: Re: [R] Working with Numbers generated from Regression Output On Jul 27, 2012, at 12:14 AM, Krunal Nana

Re: [R] Working with Numbers generated from Regression Output

2012-07-27 Thread David Winsemius
ed format menu. -- David. Thanks & Regards, Krunal Nanavati 9769-919198 -Original Message- From: Jeff Newmiller [mailto:jdnew...@dcn.davis.ca.us] Sent: 27 July 2012 12:11 To: Krunal Nanavati; Jean V Adams Cc: r-help@r-project.org Subject: Re: [R] Working with Numbers generated

Re: [R] Working with Numbers generated from Regression Output

2012-07-27 Thread Krunal Nanavati
4024 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >So, once the beta values are placed in different cells, I can work on >those numbers individually to calculate elas

Re: [R] Working with Numbers generated from Regression Output

2012-07-26 Thread Jeff Newmiller
> > > > > > > > > > > > > > > > > > > > > > >So, once the beta values are placed in different cells, I can work on >those >numbers individually to calculate elasticities. > > > >I tried with the other statements as

Re: [R] Working with Numbers generated from Regression Output

2012-07-26 Thread Krunal Nanavati
*From:* Jean V Adams [mailto:jvad...@usgs.gov] *Sent:* 26 July 2012 20:53 *To:* Krunal Nanavati *Cc:* r-help@r-project.org *Subject:* Re: [R] Working with Numbers generated from Regression Output You can learn a lot from the help files. Check out the help files for the lm() and summary.lm() fu

Re: [R] Working with Numbers generated from Regression Output

2012-07-26 Thread suman kumar
Check str(lmobj). You can see the underlying structure of lm object. It is actually a list. You can access its individual components with $ operator. Bye -- View this message in context: http://r.789695.n4.nabble.com/Working-with-Numbers-generated-from-Regression-Output-tp4637919p4637957.htm

Re: [R] Working with Numbers generated from Regression Output

2012-07-26 Thread Jean V Adams
You can learn a lot from the help files. Check out the help files for the lm() and summary.lm() functions ?lm ?summary.lm You can extract the beta values in a few different ways. These two will give you just the estimates in a vector: coef(result) result$coef These two will give you the estim