Learn R Programming

lmPerm (version 2.1.4)

multResp: 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(...)

Value

A matrix with named columns

Arguments

...

Variable names separated by commas.

Author

Bob Wheeler bwheelerg@gmail.com

Please cite this program as follows:

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

Examples

Run this code

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

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

Run the code above in your browser using DataLab