Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sir

Design Matrix for Simultaneous and Recursive Relationships between Responses


Description

Forms design matrix for simultaneous and recursive relationships between responses

Usage

sir(formula1=NULL, formula2=NULL)

Arguments

formula1

formula

formula2

formula

Value

design matrix

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

Examples

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)

MCMCglmm

MCMC Generalised Linear Mixed Models

v2.32
GPL (>= 2)
Authors
Jarrod Hadfield
Initial release
2021-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.