Learn R Programming

permutes (version 0.1)

permu.test: Permutation tests for time series data.

Description

Permutation tests for time series data.

Usage

permu.test(formula, data, subset = NULL, parallel = FALSE,
  progress = "text", ...)

Arguments

formula

A formula of the following form: `outcome ~ predictors | timepoint variables'. Multivariate outcomes (e.g. 32 EEG electrodes) are supported; use `cbind(Fp1,Fp2,etc) ~ predictors | timepoint'.

data

The dataset referencing these predictors.

subset

If specified, will only analyze the specified subset of the data.

parallel

Whether to parallelize the permutation testing using plyr's `parallel' option. Needs some additional set-up; see the plyr documentation.

progress

A plyr `.progress' bar name, see the plyr documentation. Ignored if parallel=TRUE.

...

Other arguments to be passed to `aovp'.

Value

A dataframe of p-values.