Re: [R] Returning the coef from two coordinates

2012-04-29 Thread Petr Savicky
On Fri, Apr 27, 2012 at 02:08:09PM -0700, Hans Thompson wrote: > I meant (1,1) as an (x,y) coordinate. I am trying to find the function to > return the coefficient of the line running through: > > >B > x y > a 1 1 > > and all the points in: > > >A > x y > a 1 3 > b 2 2 > c

Re: [R] Returning the coef from two coordinates

2012-04-27 Thread R. Michael Weylandt
There's a link to it at the end of every R-Help posting. Michael On Apr 27, 2012, at 5:47 PM, Hans Thompson wrote: > Where can I find the posting guide? I've been trying to use "A handbook of > Statistical Analyses Using R" and google searching but I will be reading "An > Introduction to R"

Re: [R] Returning the coef from two coordinates

2012-04-27 Thread Hans Thompson
Where can I find the posting guide? I've been trying to use "A handbook of Statistical Analyses Using R" and google searching but I will be reading "An Introduction to R" now that I see its better to starting out then using the "?function". sorry. -- View this message in context: http://r.78969

Re: [R] Returning the coef from two coordinates

2012-04-27 Thread David Winsemius
On Apr 27, 2012, at 3:04 PM, Hans Thompson wrote: Thank you to everyone in this forum that has been helping me with the basic R skills while I learn to apply them. I would like to take the coefficient of two coordinates. The coefficient of what? One of them comes Them? from tw

Re: [R] Returning the coef from two coordinates

2012-04-27 Thread Sarah Goslee
You mean like a linear regression? ?lm You might benefit from reading at the very least An Introduction to R and the posting guide to this list. Sarah On Fri, Apr 27, 2012 at 5:08 PM, Hans Thompson wrote: > I meant (1,1) as an (x,y) coordinate.  I am trying to find the function to > return the

Re: [R] Returning the coef from two coordinates

2012-04-27 Thread Bert Gunter
Have you read "An Introduction to R" or other basic R tutorial? I don't completely understand what you're asking (I was unable to decipher"coefficients of two coordinates") , but it seems shockingly basic. Before posting to this list, you should at least make some effort to learn basic skills on yo

Re: [R] Returning the coef from two coordinates

2012-04-27 Thread Hans Thompson
I meant (1,1) as an (x,y) coordinate. I am trying to find the function to return the coefficient of the line running through: >B x y a 1 1 and all the points in: >A x y a 1 3 b 2 2 c 3 1 hope that is more clear. Thanks again Rui. -- View this message in context: htt

Re: [R] Returning the coef from two coordinates

2012-04-27 Thread Rui Barradas
Hello, Hans Thompson wrote > > Thank you to everyone in this forum that has been helping me with the > basic R skills while I learn to apply them. > > I would like to take the coefficient of two coordinates. One of them > comes from two different columns in a table: > > >>A > x y

[R] Returning the coef from two coordinates

2012-04-27 Thread Hans Thompson
Thank you to everyone in this forum that has been helping me with the basic R skills while I learn to apply them. I would like to take the coefficient of two coordinates. One of them comes from two different columns in a table: >A x y a 1 3 b 2 2 c 3 1 the other is set and