Classification:  UNCLASSIFIED 
Caveats: NONE
 
Dear R users,

How can I retrieve an evaluated gradient value from "deriv" function
provided below? I want to retrieve b0 value. Appreciate your help.

Kyong

junk1<-deriv(~(1/b1)*k-b0/b1,"b0",c("k","b0","b1"),formal=T)

junk1(k=0,b0=-14.0236,b1=2.44031)
[1] 5.746647
attr(, "gradient"):
            b0 
[1,] -0.409784
 
Classification:  UNCLASSIFIED 
Caveats: NONE

        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to