plot.time_cluster_data: Plot test-statistic for each time-bin in a time-series,...

View source: R/time_cluster_data.R

plot.time_cluster_dataR Documentation

Plot test-statistic for each time-bin in a time-series, highlight clusters. Plot time_cluster_data, highlights clusters of above-threshold time-bins.

Description

Plot test-statistic for each time-bin in a time-series, highlight clusters. Plot time_cluster_data, highlights clusters of above-threshold time-bins.

Usage

## S3 method for class 'time_cluster_data'
plot(x, type = NULL, ...)

Arguments

x

The output of make_time_cluster_data

type

This function can plot the test-statistic ("statistic"), the parameter estimate +/- std. error ("estimate"), the p-value ("pvalue") or the negative-log-pvalue ("neg_log_pvalue"). When test gives critical-statistic, default is to plot the test-statistic. Otherwise, default is to plot the estimate. For wilcox, only p-values can be plotted; for boot-splines, p-values cannot be plotted.

...

Ignored

Value

A ggplot object


eyetrackingR documentation built on Sept. 15, 2023, 5:08 p.m.