Learn R Programming

calmr (version 0.7.0)

CalmrRSA-methods: CalmrRSA methods

Description

S4 methods for CalmrRSA class.

Usage

# S4 method for CalmrRSA
show(object)

# S4 method for CalmrRSA test(object, n_samples = 1000, p = 0.95)

# S4 method for CalmrRSA plot(x)

Value

  • show() returns NULL (invisibly).

  • test() returns the CalmrRSA object with permutation test data.

  • plot() returns a list of 'ggplot' plot objects.

Arguments

object, x

A CalmrRSA object.

n_samples

The number of samples for the permutation test (default = 1e3)

p

The critical threshold level for the permutation test (default = 0.95)