Learn R Programming

dynamite (version 1.5.6)

plot.lfo: Diagnostic Plot for Pareto k Values from LFO

Description

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 lfo
plot(x, ...)

Value

A ggplot object.

Arguments

x

[lfo]
Output of the lfo method.

...

Ignored.

Examples

Run this code
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)
  ))
}
# }

Run the code above in your browser using DataLab