Re: [R] How to obtain the graph of fitted values against one variable after estimation?

2010-08-26 Thread Le Wang
Winsemius dwinsem...@comcast.net wrote: On Aug 25, 2010, at 10:46 PM, Le Wang wrote: Hi there, I have a question regarding the plot command after estimation. Specifically, I estimate a model, say regressing y on x and z. And after estimation, I would like to plot the fitted values against x

[R] How to obtain the graph of fitted values against one variable after estimation?

2010-08-25 Thread Le Wang
Hi there, I have a question regarding the plot command after estimation. Specifically, I estimate a model, say regressing y on x and z. And after estimation, I would like to plot the fitted values against x, but I don't need that for z. The following command always gives two graphs, for both

[R] Getting an older version of a package

2009-05-24 Thread Le Wang
Hi there, Thanks for your time in advance. I am using an add-on package from Cran. After I updated this package, some of my programs don't work any more. I was wondering if there is anything like version control so that I could use the older version of that package; or if I could manually

[R] Getting an older version of a package

2009-05-24 Thread Le Wang
install the previous version and how I could acheive it? I am not a regular R user; although it is supposed to be very easy, after spending many hours on this, I still haven't figured out how to proceed. Your help will be greatly appreciated. Thanks. Le -- ~~ Le Wang, Ph.D

Re: [R] Getting an older version of a package

2009-05-24 Thread Le Wang
:::menuInstallLocal() updating HTML package descriptions On Sun, May 24, 2009 at 4:36 PM, Duncan Murdoch murd...@stats.uwo.ca wrote: On 24/05/2009 4:00 PM, Le Wang wrote: Hi there, Thanks for your time in advance. I am using an add-on package from Cran. After I updated this package, some of my

[R] macro in a loop

2009-03-21 Thread Le Wang
Hi there, Thanks for your time in advance. I am trying to read in multiple files. For example, data.1940 - read.table(c:/data/1940.csv,header=TRUE,sep=,) data.1950 - read.table(c:/data/1950.csv,header=TRUE,sep=,) data.1960 - read.table(c:/data/1960.csv,header=TRUE,sep=,)

Re: [R] macro in a loop

2009-03-21 Thread Le Wang
Thank you all for the help! Le On Sat, Mar 21, 2009 at 4:23 PM, Pankaj Chopra pcho...@ncsu.edu wrote: data.year[j] - read.table(paste(c:/data/,year[j],.csv,sep=''),header=T,sep=,) should do it. Le Wang wrote: Hi there, Thanks for your time in advance. I am trying to read