Description Usage Arguments Examples
View source: R/get_data_probs.R
Takes in a matrix of possible (single case) observations and returns the probability of each.
1 | get_data_probs(model, data, parameters = NULL)
|
model |
A model |
data |
Data in long format |
parameters |
A numeric vector. Values of parameters may be specified. By default, parameters is drawn from priors. |
1 2 3 | model <- make_model("X->Y")
data <- simulate_data(model, n = 4)
get_data_probs(model, data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.