plot.permutes: Create a heatmap of the results of permutation testing.

Description Usage Arguments Value

Description

Create a heatmap of the results of permutation testing.

Usage

1
2
3
## S3 method for class 'permutes'
plot(x, type = c("F", "t", "p", "w2", "beta"),
  breaks = NULL, ...)

Arguments

x

Output of permu.test. You may want to subset it if you want to simulate zooming in.

type

The quantity to plot. For ANOVA, the options are 'F' (default), 'p', or 'w2' (omega squared). For regression, the options are 't' (default), 'beta', or 'p'. If multiple options are presented, only the first option found in the data frame is used.

breaks

The granularity of the labels of the x axis. Pass ‘unique(data[,2])’ to get a tick for every timepoint. Combine this trick with subsetting of your dataset, and perhaps averaging over all your dependent variables, to ‘zoom in’ on your data to help you determine precisely where significance begins and stops to occur.

...

Other arguments, which will be ignored (the ellipsis is provided for consistency with the generic plot() method).

Value

A ggplot2 object.


cvoeten/permutes documentation built on July 22, 2019, 5:22 a.m.