fit.truncated.power.law | R Documentation |
Model: y ~ a * x^(-lambda) exp(-x/k)
fit.truncated.power.law( x, y, xmin = min(x), xmax = max(x), plot = TRUE, add = TRUE, ... )
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 |
A list of values for a, lambda and k.
fit.power.law
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.