rav.single {rAverage}R Documentation

Single subject analysis with averaging models

Description

Analyzes averaging models for every single subjects in a data matrix and store the estimated parameters in a list.

Usage

rav.single(data,...)

Arguments

data

An object of type data.frame containing data. Each column represents an experimental design of a factorial plan (see the function rav for details). Each row must contain single-trial responses for each subject. Further, the first column must contain labels describing an identification code for subjects.

...

Further arguments for the rav function (the argument subset must not be specified).

Details

The rav.single function is a wrapper for the rav function. Using rav, rav.sigle analyzes subjects one at time, specifying time by time a different value for subset.

Value

A list object in which each slot contains results of a single subject. The ordering of the subjects is the same as in the input data matrix.

See Also

rav, rAverage-package

Examples

## Not run: 
data(pasta)
model <- rav.single(pasta,lev=c(3,3))
model$s41 # extracts the subject 's41'

## End(Not run)

[Package rAverage version 0.5-8 Index]