fit.polyexp: Fit a poly-exponential distribution

View source: R/fitdists.R

fit.polyexpR Documentation

Fit a poly-exponential distribution

Description

Model: y ~ exp(a*x^2 + b*x + c) * x^d

Usage

fit.polyexp(x, y, xmin = min(x), xmax = max(x), plot = TRUE, add = TRUE, ...)

Arguments

x

A vector of independent variable.

y

A vector of dependent variable.

xmin

The lower bound point of x.

xmax

The higher truncated point of x.

plot

Whether to plot the fitted curve.

add

Whether to add the fitted curve to current plot.

...

Extra parameters to curve.

Value

A list of values for a, b, c, and d.


caesar0301/movr documentation built on June 18, 2022, 2:37 a.m.