Learn R Programming

lmPerm (version 2.1.0)

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

Arguments

...
Variable names separated by commas.

Value

A matrix with named columns

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