plottarget3d {EntropyMCMC}R Documentation

3D plot of a two-dimensional MCMC target, or any function

Description

Utility function for the package EntropyMCMC, to visualize a 2-dimensional target of a MCMC algorithm, mostly for testing purpose. This uses the function persp from package graphics.

Usage

plottarget3d(zft, l, r, ms, theta, phi, ...)

Arguments

zft

a function, typically a 2-dimensional target of a MCMC.

l, r, ms

mesh boundaries and size.

theta, phi

angles defining the viewing direction. theta gives the azimuthal direction and phi the colatitude.

...

additional graphical parameters.

Value

Returns a 3D plot on a mesh of size (l, r, ms).

Author(s)

Didier Chauveau.


[Package EntropyMCMC version 1.0.4 Index]