| plot.wnpmle_profile | R Documentation |
plot_loglik and plot_tic return their results
(invisibly) as an object of class "wnpmle_profile". plot()
redraws the figure from these results without refitting any model, e.g.
with a different layout or into a PDF file.
## S3 method for class 'wnpmle_profile'
plot(
x,
layout = NULL,
relative = TRUE,
show_loglik = TRUE,
mark_points = TRUE,
legend = TRUE,
file = NULL,
width = NULL,
height = NULL,
...
)
x |
An object of class |
layout |
|
relative |
Logical; show each criterion relative to its optimum
( |
show_loglik |
Logical; for results of |
mark_points, legend, file |
As in |
width, height |
Size of the PDF in inches; default 3.6 x 2.8 (with
pointsize 9, as in Bellach and Kosorok, 2026) for |
... |
Ignored. |
x, invisibly.
bdata <- bladder_prep()
res <- plot_loglik(Surv(time, status) ~ treat + num + size, data = bdata,
id = "id", rho_grid = seq(0.2, 1.2, by = 0.2),
r_grid = seq(0.2, 1.2, by = 0.2))
plot(res, layout = "panels") # redrawn without refitting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.