rav.single: Single subject analysis with averaging models

Description Usage Arguments Details Value See Also Examples

View source: R/fun.rav.R

Description

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

Usage

1

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

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

## End(Not run)

rAverage documentation built on May 2, 2019, 6:40 a.m.