Skip to content
Prev 274826 / 398506 Next

Extracting equation from R code

I checked your equations with some made-up values:

crossover <- 50
fullin <- 120
fullout <- 20
x <- 62

and got 0.6261906 --- which was the value returned by the function in
question.

With x <- 41 I got 0.3094857 --- again the same as the value returned by
the function.

So you seem to have derived the equations correctly.  Why did you think
there was an error?

         cheers,

             Rolf Turner
On 18/10/11 17:47, tpet wrote: