weightEvolution: Plot evolving histograms for the advice weights of a model

Description Usage Arguments

View source: R/results.R

Description

Plot evolving histograms for the advice weights of a model

Usage

1
2
3
4
5
6
weightEvolution(
  model,
  decisions = function(d) as.integer(seq(1, length(d), length.out = 10)),
  binwidth = 0.025,
  k = 1:2
)

Arguments

model

model to inspect

decisions

function taking an integer vector of decision numbers and returning a logical vector of whether to plot weights at that decision

binwidth

width of the histogram bins

k

cluster counts to compare with .cluster_count


oxacclab/adviseR documentation built on Oct. 7, 2021, 8:05 p.m.