Learn R Programming

specmine (version 3.1.6)

plot_kruskaltest: Plot Kruskal-Wallis tests results

Description

Function for plotting the results from Kruskal-Wallis tests.

Usage

plot_kruskaltest(dataset, kr.results, kr.threshold = 0.01)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

kr.results

Kruskal-Wallis tests results.

kr.threshold

Kruskal-Wallis test threshold for the p-value.

Examples

Run this code
# NOT RUN {
    ## Example of plotting the Kolmogorov-Smirnov tests results
	library(specmine.datasets)
    data(cachexia)
    kr.results = kruskalTest_dataset(cachexia, "Muscle.loss", 
	write.file = FALSE)
    plot_kruskaltest(cachexia, kr.results, 0.05)
# }

Run the code above in your browser using DataLab