These functions plot 1D and 2D profiles from an SLik object
1 2 3 4 5 6 
object 
An SLik object 
pars 
The parameters for which profiles will be computed. For 2D plots, all pairs of parameters in 
type 

gridSteps 
The number of values (in each dimension for 2D plots) which likelihood should be computed. For 1D plots,

xlabs 
A list of alternative axis labels. The names of the list elements should be elements of 
xylabs 
Same as 
ylab 
Same as 
main 
Same as 
scales 
A named character vector, which controls ticks and tick labels on axes, so that these can be expressed as (say) the exponential of the parameter inferred in the SLik object.
For example if the likelihood of 
plotpar 
arguments for 
margefrac 
For development purposes, not documented. 
No return value.
1 2 3 4 5 6  if (Infusion.getOption("example_maxtime")>40) {
data(densv)
slik < infer_surface(densv) ## infer a loglikelihood surface
slik < MSL(slik) ## find the maximum of the loglikelihood surface
plot1Dprof(slik,pars="s2",gridSteps=40,xlabs=list(s2=expression(paste(sigma^2))))
}

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.