Skip to content
Prev 4592 / 20628 Next

deriv example for nlmer

Oops - I should have checked the code before posting! Note that the
issue is with what is returned by body(logisKsite) ... you wouldn't need
the [[2]] if the function logisKsite didn't have brackets.

Compare:

fn1 <- function(x) x
fn2 <- function(x) {
  x
}

body(fn1)
body(fn2)
body(fn2)[[2]]
On Tue, 2010-10-19 at 11:43 -0600, Helen Sofaer wrote: