Re: [R] simple problems

2007-12-06 Thread Gabor Grothendieck
On Dec 6, 2007 6:13 PM, Emmanuel Charpentier <[EMAIL PROTECTED]> wrote: > Gabor Grothendieck a écrit : > > On Dec 6, 2007 3:26 PM, marciarr <[EMAIL PROTECTED]> wrote: > > [ Snip ] > > >> 2- how do I solve a simple equation? Considering the equation y= > >> exp(-x)^12, > >> I would like to find

Re: [R] simple problems

2007-12-06 Thread Emmanuel Charpentier
Gabor Grothendieck a écrit : > On Dec 6, 2007 3:26 PM, marciarr <[EMAIL PROTECTED]> wrote: [ Snip ] >> 2- how do I solve a simple equation? Considering the equation y= exp(-x)^12, >> I would like to find the values of x for, for example, y=0.01, so >> exp(-x)^12=0.01. How do I do that using

Re: [R] simple problems

2007-12-06 Thread Gabor Grothendieck
On Dec 6, 2007 3:26 PM, marciarr <[EMAIL PROTECTED]> wrote: > > Hello R users, > I have been looking through Help files and Nabble list for the answers for > these simple questions, but it seems to be fruitless. > 1- in a data frame with two columns, x and y, how do I get the corresponding > value

Re: [R] simple problems

2007-12-06 Thread Domenico Vistocco
marciarr wrote: > Hello R users, > I have been looking through Help files and Nabble list for the answers for > these simple questions, but it seems to be fruitless. > 1- in a data frame with two columns, x and y, how do I get the corresponding > value of x to, let's say, the minimum value of the y

[R] simple problems

2007-12-06 Thread marciarr
Hello R users, I have been looking through Help files and Nabble list for the answers for these simple questions, but it seems to be fruitless. 1- in a data frame with two columns, x and y, how do I get the corresponding value of x to, let's say, the minimum value of the y column (min (data$y)) ?