Re: [R] Solving derivates, getting the minimum of a function, and helpful documentation of the deriv function

2020-08-29 Thread Rolf Turner
On Sat, 29 Aug 2020 21:15:56 + "Sorkin, John" wrote: > I am trying to find the minimum of a linear function: Quadratic function??? > y <- (-0.0263*b) + (0.0010*B^2) > > I am having GREAT difficulty with the documentation of the deriv > function. I have (after playing for two-hours)

Re: [R] Solving derivates, getting the minimum of a function, and helpful documentation of the deriv function

2020-08-29 Thread Roy Mendelssohn - NOAA Federal via R-help
Hi John: Can I ask if this is the specific problem you are after, or a test for more general problem? If the former, the derivative is -0.0263 + 0.002 * B so the solution for B is: B = (0263)/0.002 If you are after a more general way fo doing this: ?solve -Roy > On Aug 29, 2020, at

[R] Solving derivates, getting the minimum of a function, and helpful documentation of the deriv function

2020-08-29 Thread Sorkin, John
I am trying to find the minimum of a linear function: y <- (-0.0263*b) + (0.0010*B^2) I am having GREAT difficulty with the documentation of the deriv function. I have (after playing for two-hours) been able to get the following to work: zoop <-