RCTrans-nonlin: Specify a Row-Column Association With Transitional Layer...

RCTransR Documentation

Specify a Row-Column Association With Transitional Layer Effect in a gnm Model Formula

Description

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.

Usage

  RCTrans(row, col, layer, inst = NULL)
  RCTransSymm(row, col, layer, inst = NULL)

Arguments

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

Details

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

Value

A list with the required components of a "nonlin" function:

predictors

the expressions passed to Mult

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.

Author(s)

Milan Bouchet-Valat

See Also

rcL.trans


nalimilan/logmult documentation built on March 28, 2022, 1:18 p.m.