Skip to contents

Create diagnostic plot of Pareto-\(k\) values from LFO-CV. This function was almost directly yoinked from Bürkner et al..

Usage

plot_ks(ks, L, k_thres = 0.7)

Arguments

ks

Numeric vector of Pareto-\(k\) values from attr(x, "pointwise")$pareto_k for an object returned by STb_lfo().

L

Integer. Initial number of observations used before LFO prediction begins.

k_thres

Numeric. Pareto-\(k\) threshold to draw as a reference line. Defaults to 0.7.