R/gradfg.R

Defines functions gradfg

## Function translated automatically using 'matlab.to.r()'
## Author: Andrew Hooker

gradfg <- function(x,a,bpop,b_ind,bocc_ind,poped.db){
#
#
# size: (number of g's x number of random effects)
#
# deriv of g's w.r.t. b's and bocc's eval at b_ind
#
  dfg_db0 = grad_all(poped.db$model$fg_pointer,4,poped.db$parameters$ng,x,a,bpop,b_ind,bocc_ind,poped.db,noPopED = TRUE)
  return(dfg_db0) 
}

Try the PopED package in your browser

Any scripts or data that you put into this service are public.

PopED documentation built on May 21, 2021, 5:08 p.m.