dist_param: Definition of the distance function used in optimisation

Description Usage Arguments Value

Description

Definition of the distance function used in optimisation

Usage

1
dist_param(param, t, y)

Arguments

param

the vector of parameters to be optimized (amplitude, timing and width)

t

numeric vector of time values

y

numeric vector of observed values at time t

Value

the residual sum of squares between N_4(t,x_0,A,sigma) and y


kcucchi/myUtils documentation built on May 28, 2019, 9:50 a.m.