multResp {lmPerm}R Documentation

Multple response creation

Description

This function creates a multiple response matrix for its argument variables. When used on the lhs of the formula in lmp() or aovp() it will create a matrix containing one or more response columns from variables defined in the data argument.

Usage

        multResp(...)

Arguments

... Variable names separated by commas.

Value

A matrix with named columns

Author(s)

Bob Wheeler bwheelerg@gmail.com

Please cite this program as follows:

Wheeler, R.E. (2010). multResp() lmPerm. The R project for statistical computing http://www.r-project.org/

Examples


        A<-1:5
        B<-1:5
        multResp(A,B)

        data(Plasma)
        anova(lmp(multResp(Amin,Pct,sinpoly)~.,Plasma))

[Package lmPerm version 1.0-1 Index]