Learn R Programming

rAverage (version 0.4-10)

rav.single: 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 sin
...
Further arguments for the rav function (the argument subset must not be specified).

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.

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.

See Also

rav, rAverage-package

Examples

Run this code
data(pasta)
model <- rav.single(pasta,lev=c(3,3))
model$s41 # extracts the subject 's41'

Run the code above in your browser using DataLab