fmx2dbl | R Documentation |
To convert the parameters of fmx object into unrestricted parameters.
fmx2dbl(
x,
distname = x@distname,
pars = x@pars,
K = dim(pars)[1L],
w = x@w,
...
)
x |
fmx object |
distname |
character scalar, default |
pars |
numeric matrix, default |
K |
integer scalar, default value from |
w |
numeric vector, default |
... |
additional parameters, not currently used |
For the first parameter
A_1 \rightarrow A_1
A_2 \rightarrow A_1 + \exp(\log(d_1))
A_k \rightarrow A_1 + \exp(\log(d_1)) + \cdots + \exp(\log(d_{k-1}))
For mixing proportions to multinomial logits.
For 'norm'
: sd -> log(sd)
for 'GH'
: B -> log(B), h -> log(h)
Function fmx2dbl()
returns a numeric vector.
dbl2fmx()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.