Re: [R] Inconsistent linear model calculations

From: Petr PIKAL <petr.pikal_at_precheza.cz>
Date: Fri, 16 May 2008 12:16:48 +0200

Hi

Maybe you shall reconsider your decision to avoid manuals especially R-intro.pdf, where you can learn basic operations and data structures.

r-help-bounces_at_r-project.org napsal dne 16.05.2008 09:52:22:

> For the record, v6 represented the averages for columns v3-v5 because
> I could not quickly find the r instruction to calculate the average.

Did you try ?mean. You could get to it in seconds if you used

help.search("average")
and then from ave page there is direct link to mean.

> Similiarly v7 represents square power of v2. At the time it was

In many programs n^m means to m'th power of n.

Least but not last the problem **was not** in R but in your data, as was suggested originally by D.Bates.

Regards
Petr

> quicker than trawling through five or so user manuals for the formula
> syntax.
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 16 May 2008 - 10:21:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 16 May 2008 - 11:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive