Determine a cutoff value between the upper and lower mode of a bimodal dataset
findcutoff.Rd
This function finds the cutoff value between the modes of bimodally distributed data at the indicated probability value. As a matter of course, this function runs the cleanData and datamodel functions for you, negating the need to run those separately.
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.
- proba
The probability value you want the cutoff value to represent
- i
Determines the location, i.e., index of the (first) minimum of the model$mydata$mu