Skip to contents

This function produces a histogram of the data that will be used for fitting curves. As a matter of course, this function runs the cleanData and datamodel functions for you, negating the need to run those separately.

Usage

fitparams(x = cutoffvalue:::exampledata, breaks = 15)

Arguments

x

Your dataset specified as "DatasetName$ColumnName" or converted to a numeric list with a name (e.g., "yourrawdata <- as.numeric(yourrawdata$columnname)"). Regardless of how you import or specify it, data should be a single column of log-transformed data.

Value

Returns a basic histogram for the data set along with various parameters used to generate curves for the final plot.

Examples

fit <- fitparams(cutoffvalue:::exampledata)
#> number of iterations= 80