plotPermTest {rSRD}R Documentation

plotPermTest

Description

Plots the permutation test for the given data frame by using the simulation data created by the calculateSRDDistribution() function.

Usage

plotPermTest(df, simulationData, densityToDistr = FALSE)

Arguments

df

A DataFrame.

simulationData

The output of the calculateSRDDistribution() function.

densityToDistr

Flag to display the cumulative distribution function instead of the probability density.

Value

None.

Author(s)

Linus Olsson linusmeol@gmail.com

Examples


df <- data.frame(
A=c(32, 52, 44, 44, 47),
B=c(73, 75, 65, 76, 70),
C=c(60, 59, 57, 55, 60),
D=c(35, 24, 44, 83, 47),
E=c(41, 52, 46, 50, 65))

simulationData <- rSRD::calculateSRDDistribution(df)
plotPermTest(df, simulationData)


[Package rSRD version 0.1.7 Index]