| plot.metafrontier | R Documentation |
Produces diagnostic and summary plots for a fitted metafrontier model.
## S3 method for class 'metafrontier'
plot(x, which = c("tgr", "efficiency", "decomposition", "frontier"), ...)
x |
a |
which |
character. Type of plot to produce:
|
... |
additional graphical parameters passed to base plotting functions. |
Invisibly returns x.
set.seed(42)
sim <- simulate_metafrontier(n_groups = 2, n_per_group = 100)
fit <- metafrontier(log_y ~ log_x1 + log_x2,
data = sim$data, group = "group")
plot(fit, which = "tgr")
plot(fit, which = "decomposition")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.