Description Usage Arguments Details Value See Also
Convert a data frame to the appropriate format for the fast/incremental logScoreNormal functions, and return as part of the logScoreParameters list.
1 2 | logScoreNormalPrepare(data, logScoreParameters,
checkInput = T)
|
data |
A data.frame, with columns being factors giving the values of each random variable. |
logScoreParameters |
A list with the following components:
|
checkInput |
A logical of length 1, specifying whether to check the inputs to the function. |
In particular, the data is converted to a matrix, and the factor levels taken integer values from 0, 1, .... ie not on 1, 2, 3.
A list with the contents of logScoreParameters, with the following components added or altered:
A matrix with columns giving the value of each random variable.
A numeric vector of length ncol(data), specifying the number of levels that each random variable takes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.