Learn R Programming

likeLTD (version 6.3.0)

plotLikelihood.2d: likeLTD::plotLikelihood.2d

Description

Plots two dimensional graph of likelihood for two input directions.

Usage

plotLikelihood.2d(hypothesis, which=c(1, 2), large=100, N=20,
                         arguments=NULL, x=NULL, y=NULL, logObjective=TRUE,
                         logDegradation=TRUE, contours=list(), …)

Arguments

hypothesis

Hypothesis from which to derive the likelihood

which

Indices of the arguments for which to plot likelihood

large

Number with which to replace Inf in upper and lower bounds. Can be a 2-tuple.

N

Number of points per axis. Can be a 2-tuple.

arguments

Arguments to the likelihood. Defines values for dimensions that are not plotted. Defaults to initial.arguments(...).

x

Range over which to plot abcissa

y

Range over which to plot ordinate

logObjective

Whether to plot log-likelihood

logDegradation

Whether to input degradation as \(10^x\)

contours

Arguments to stat_contour

Other arguments are fed to the internal call to optimisation.params