anls: Creates a non linear squared model of type: y = a * exp(b *...

Description Usage Arguments Value Examples

Description

Takes in x and y vectors and returns the coefficients a and b of the model created

Usage

1
anls(x, y)

Arguments

x

a numeric vector

y

a numeric vector that should not contain 0 values

Value

the predicted values of a and b

Examples

1
 x = c(1:14) ; y = c(1880,813,376,161,100,61,31,9,8,2,7,4,3,2)

JannadiM/AdvandeNonLinearSquared documentation built on May 17, 2019, 3:13 a.m.