Rcam(mat, rbaseline = 1, cbaseline = 1)
mat
) or
character (matching a row name of mat
) that the user
wants as the row baseline or reference level.
Similarly cbaseline
for the column.rbaseline
and cbaseline
specifying the
first rows and columns.
The default is no change in mat
.rcam
.
For rank-zero row-column association models this function
establishes the baseline (or reference) levels of the matrix
response with respect to the row and columns---these become
the new first row and column.moffset
,
rcam
,
plotrcam0
.(alcoff.e <- moffset(alcoff, roffset = "6", postfix = "*"))
(aa = Rcam(alcoff, rbaseline = "11", cbaseline = "Sunday"))
(bb = moffset(alcoff, "11", "Sunday", postfix = "*"))
aa - bb # Notice the difference!
Run the code above in your browser using DataLab