R/aspectDeterminant.R

Defines functions `aspectDeterminant`

# returns -log determinant of r

`aspectDeterminant` <-
function(r) {
  list(f = -log(det(r)), g = -solve(r))
}

Try the aspect package in your browser

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

aspect documentation built on May 6, 2022, 9:06 a.m.