Description Usage Arguments Details Value References Examples
A fast procedure for computing log-multiplicative analysis, i.e. Goodman's _RC(M)_ association model.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
dat |
Input data: can be a table or a data frame. |
k |
Numeric specification of the number of latent axes to compute (i.e. k = M). |
weights |
Character specification of the weights applied to standardize the coordinates: can be one of
|
tol |
Numeric specification of the convergence criterion. |
base |
Numeric specification of the base with respect to which logarithms are computed. |
init |
Character specification of the initialization scheme for the marginal parameters: can be either
|
For now (i.e. version 3.0.0 of the svs package), the data frame must have only two columns.
A list with components:
|
A list with marginal parameters in components |
|
The association parameters, indicating how much association each latent axis explains. |
|
The coordinates of the first set of levels (viz. the row levels of a frequency table). |
|
The coordinates of the second set of levels (viz. the column levels of a frequency table). |
Goodman, L. A. (1979) Simple models for the analysis of association in cross-classifications having ordered categories. Journal of the American statistical association 74 (367), 537–552.
Kateri, M. (2014) Contingency table analysis. Methods and implementation using R. New York: Springer-Birkhauser.
Wong, R. S.-K. (2010) Association models. Thousand Oaks: SAGE.
1 2 3 4 5 | SndT_Fra <- read.table(system.file("extdata", "SndT_Fra.txt", package = "svs"),
header = TRUE, sep = "\t", quote = "\"", encoding = "UTF-8",
stringsAsFactors = FALSE)
lma.SndT_Fra <- fast_lma(SndT_Fra, k = 7)
lma.SndT_Fra
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.