| data2lnorm {heR.Misc} | R Documentation |
Function to take a data vector and fit a lognormal model to it, optionally plotting the fit and the data together as a CDF.
data2lnorm(y, plot=TRUE, forceNA = FALSE, ...)
y |
a vector of numerical data |
plot |
a logical indicating whether to plot the fit or not |
forceNA |
a logical indicating whether to convert data values
less than 0 into NA values |
... |
additional arguments to plot |
This function creates a log-probability plot (a kind of cumulative distribution
function or CDF) with the fitted line through the
data points. It is based on the qqplot and qnorm R functions.
A list containing the fitted geometric mean and the fitted geometric standard deviation,
Neil E. Klepeis
neil AT exposurescience DOT org
http://klepeis.net
qqplot,
qnorm,
bin2lnorm,
lpplot.data,
lpplot,
add.lp.bin,
add.lp.data,
add.lp.lnorm