[R] Inconsistent linear model calculations

Petr PIKAL petr.pikal at precheza.cz
Fri May 16 12:16:48 CEST 2008


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.



More information about the R-help mailing list