plotLikelihood: Plot likelihood function

Description Usage Arguments Examples

View source: R/plotLikelihood.R

Description

Plots the likelihood function for a mat3 object

Usage

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)

Arguments

final

...

psi

...

win

...

R_clusters

...

R_centers

...

J

...

N

...

logPriors

...

initialValues

...

GeyerThompson

...

fname

...

logv

...

Examples

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"))}

guiludwig/mat3c documentation built on Dec. 2, 2019, 1:32 a.m.