sir | R Documentation |
Forms design matrix for simultaneous and recursive relationships between responses
sir(formula1=NULL, formula2=NULL)
formula1 |
formula |
formula2 |
formula |
design matrix
Jarrod Hadfield j.hadfield@ed.ac.uk
fac1<-factor(sample(letters[1:3], 5, TRUE), levels=letters[1:3])
fac2<-factor(sample(letters[1:3], 5, TRUE), levels=letters[1:3])
cbind(fac1, fac2)
sir(~fac1, ~fac2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.