gradient_chunk: Calculate gradient of the negative log likelihood, used for...

Description Usage Arguments Value

View source: R/BFA.R

Description

Calculate gradient of the negative log likelihood, used for calls to the optim() function.

Usage

1
gradient_chunk(parameters, modelEnv)

Arguments

parameters

Vectorized parameter space.

modelEnv

Environment variable contains parameter space, and global variables such as N,G,C,detection matrix B, etc

Value

Vectorized gradient


quon-titative-biology/bfa documentation built on March 18, 2020, 11:53 a.m.