[R] About regression and plot

Gabor Grothendieck ggrothendieck at gmail.com
Wed Apr 26 15:55:12 CEST 2006


On 4/26/06, Daniel Yang <yungjui at gmail.com> wrote:
> --- I changed to format to text instead of html ---
>
> Dear R-help,
>
> This is my first R day.  I want to ask some more beginner's questions.

Read the posting guide at the bottom of each post to r-help.

>
> Q1. How can I obtain the covariance matrix for parameter estimates of a
> multiple regression?  I checked ?lm but didn't get the information.
>

?vcov

> Q2. How can I see the old graphs in the graph window?

Assuming you are using Windows, create a plot, e.g. plot(1),
change focus to the plot, i.e. left click it, and choose Recording
from the History menu.  From that point on in the session (or
until you turn it off), it will record your plots and you can change
focus to the plot window and use PageUp and PageDn keys to
move through them.

>
> Q3. Can R plot animated graph?  For example, I want to see the dynamic
> change of a 2D graph during a time period.

RSiteSearch("animation")




More information about the R-help mailing list