Description Usage Arguments Examples
View source: R/plotLikelihood.R
Plots the likelihood function for a mat3 object
1 2 3 4 5 6 | plotLikelihood(final, psi = c(beta = 70, phi = 2, gamma = 5, sigma =
0.05, kappa = 3), win = owin(c(0, 1), c(0, 1)), R_clusters = 0.02,
R_centers = 0.05, J = 100, N = 10000,
logPriors = preparePriors(), initialValues = pickInitialValues(),
GeyerThompson = c("large", "importance", "simple"), fname = NULL,
logv = TRUE)
|
final |
... |
psi |
... |
win |
... |
R_clusters |
... |
R_centers |
... |
J |
... |
N |
... |
logPriors |
... |
initialValues |
... |
GeyerThompson |
... |
fname |
... |
logv |
... |
1 2 3 4 5 6 | \notrun{x <- rmat3(70, 2, 5, 0.05, 3)
gr <- plotLikelihood(x, GeyerThompson = "importance")
# No importance sampling:
gr <- plotLikelihood(x, psi = c(70, 1, 5, 0.05, 3), GeyerThompson = "simple")
# Reading from a file
gr <- plotLikelihood(NA, fname = c("centers-param=3-b=19.txt", "fingers-param=3-b=19.txt"))}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.