Learn R Programming

classyfire (version 0.1-2)

ggFusedHist: Fused histograms of ensemble and permutation results

Description

The ggFusedHist function generates a histogram of the permutation results as generated by cfBuild and cfPermute.

Usage

ggFusedHist(ensObj, permObj)

Arguments

ensObj
The classification ensemble (in the form of an R list) as generated by cfBuild
permObj
The permutation object as generated by cfPermute

See Also

cfBuild, cfPermute, ggEnsHist, ggPermHist

Examples

Run this code
## Not run: 
# data(iris)
# 
# irisClass <- iris[,5]
# irisData  <- iris[,-5]
#                
# # ** Use parallel = FALSE for execution in sequence **
# 
# # Ensemble construction
# ensObj  <- cfBuild(inputData = irisData, inputClass = irisClass, bootNum = 5, 
#                    ensNum = 2, parallel = FALSE)
# 
# # Permutation test
# permObj <- cfPermute(irisData, irisClass, bootNum = 5, ensNum = 2, permNum = 2, 
#                      parallel = FALSE)
# 
# ggFusedHist(ensObj, permObj)
# ## End(Not run)

Run the code above in your browser using DataLab