expDecay: four-parameter distance-decay function

Description Usage Arguments Details

Description

this returns a function that when bound to data returns a function of i and a vector of length 4 minus number of fixed params

Usage

1
2
  expDecay(f, fixed = NULL, starting = NULL,
    names = c("nu", "phi", "rho", "kappa"))

Arguments

f

a formula on the data to return a 2-column matrix

fixed

named vector of fixed parameters

starting

named vector of starting parameters

names

vector of length 4 of alternate variable names

Details

note this is the:

f = nu*exp(-(d/phi)^kappa + rho

formula used in the FnM paper. Hence f(0)->rho+1


barryrowlingson/splatr documentation built on May 11, 2019, 8:30 p.m.