RCTrans {logmult}R 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) = (\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).

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


[Package logmult version 0.7.4 Index]