Description Usage Arguments Value
extractIRT
and replaceIRT
are only to be used in
interactive mode (i.e. not used within functions). see
http://adv-r.had.co.nz/Computing-on-the-language.html#calling-from-another-function.
It is much safer and easier to read to use the x
, b
,
and a
functions, which are used to extract and replace all
gradient values, species slopes, and species intercepts (note
these functions return as arrays). getAxisParamArray
and
setAxisParamArray
are mostly for internal use, because
usually x
, b
, and a
will provide everything
someone might need.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | extractIRT(mcmc, condition, index)
replaceIRT(mcmc, condition, value, index)
a(mcmc, index)
b(mcmc, index)
x(mcmc, index)
abx(mcmc, index)
a(mcmc) <- value
b(mcmc) <- value
x(mcmc) <- value
getAxisParamArray(mcmc, index, param = c("beta", "theta"))
setAxisParamArray(mcmc, index, param = c("beta", "theta"), value)
|
mcmc |
An |
condition |
An expression evaluating to a
|
index |
Optional (not really needed) |
value |
Replacement value. |
param |
Which parameter to obtain/replace ( |
Another mcmc
object with (1) only the
extracted piece (for extractIRT
) or (2) the replaced values
(for replaceIRT
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.