Skip to contents

Plots Pareto k values per each time point (with one point per group), together with a horizontal line representing the used threshold.

Usage

# S3 method for class 'lfo'
plot(x, ...)

Arguments

x

[lfo]
Output of the lfo method.

...

Ignored.

Value

A ggplot object.

Examples

data.table::setDTthreads(1) # For CRAN
# \donttest{
# Please update your rstan and StanHeaders installation before running
# on Windows
if (!identical(.Platform$OS.type, "windows")) {
  # This gives warnings due to the small number of iterations
  plot(suppressWarnings(
    lfo(gaussian_example_fit, L = 20, chains = 1, cores = 1)
  ))
}
#> Estimating model with 20 time points.
#> recompiling to avoid crashing R session
#> Estimating model with 21 time points.
#> Estimating model with 22 time points.
#> Estimating model with 24 time points.
#> Estimating model with 26 time points.

# }