Description Usage Arguments Value Examples
The getPerm5Num
function returns the "five number summary", a descriptive statistic that consists of the minimum, first (lower) quartile, median, third (upper) quartile and maximum value of a given distribution. In this case, the function is applied directly on the output of permutation testing, generated by the cfPermute
function.
1 | getPerm5Num(permObj)
|
permObj |
The permutation object as generated by |
The getPerm5Num
function returns an R object in the form of a list that contains the five number summary. The names of the returned statistics can be viewed by using the function attributes.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## 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")
getPerm5Num(permObj)
getPerm5Num(permObj)$median
getPerm5Num(permObj)$minimum
getPerm5Num(permObj)$maximum
getPerm5Num(permObj)$upperQ
getPerm5Num(permObj)$lowerQ
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.