Description Usage Arguments See Also Examples
The ggPermHist
function generates a histogram of the permutation results as generated by cfPermute
.
1 2 |
permObj |
The permutation object as generated by |
density |
Boolean value, by default equal to |
percentiles |
Boolean value, by default equal to |
mean |
Boolean value, by default equal to |
median |
Boolean value, by default equal to |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
data(iris)
irisClass <- iris[,5]
irisData <- iris[,-5]
permObj <- cfPermute(irisData, irisClass, bootNum = 10, ensNum = 20, permNum = 5,
parallel = TRUE, cpus = 4, type = "SOCK")
# Basic histogram of the averaged test accuracies during permutation
ggPermHist(permObj)
# Density plot
ggPermHist(permObj, density=TRUE)
# Density plot that highlights additional descriptive statistics
ggPermHist(permObj, density=TRUE, percentiles = TRUE, mean = TRUE)
ggPermHist(permObj, density=TRUE, percentiles = TRUE, median = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.