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) = (μ^S_i + ψ_k μ^V_i) (ν^S_j + ψ_k ν^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 μ^S_i and ν^S_i (respectively μ^V_i and
ν^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.