| RCTrans | R Documentation |
A function of class "nonlin" to specify a log-multiplicative row-column association models with transitional
layer effect with one or several dimensions in the formula argument to gnm. RCTransSymm
allows specifying a variant with symmetric (homogeneous) row and column scores.
RCTrans(row, col, layer, inst = NULL)
RCTransSymm(row, col, layer, inst = NULL)
row |
the levels of the row variable |
col |
the levels of the column variable |
layer |
the levels of the layer variable |
inst |
a positive integer specifying the instance number of the term |
This function is used by rcL.trans to fit an experimental model.
RCTrans combines its arguments in the following way:
RCTrans(i, j, k) = (\mu^S_i + \psi_k \mu^V_i) (\nu^S_j + \psi_k \nu^V_j)
where RCTrans(i, j, k) is the skew association for the cell at the intersection of row i, column j
and layer k of the table.
RCTransSymm is similar, but forces \mu^S_i and \nu^S_i (respectively \mu^V_i and
\nu^V_i) to be equal for identical values of i (diagonal cells).
A list with the required components of a "nonlin" function:
predictors |
the expressions passed to |
term |
a function to create a deparsed mathematical expression of the term, given labels for the predictors. |
call |
the call to use as a prefix for parameter labels. |
Milan Bouchet-Valat
rcL.trans
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.