make_categories: Make 'optimal' categories for a set of positions

Description Usage Arguments

View source: R/categorize.R

Description

Finds the optimal number and position of categories for the evolution of a market Optimal in the sense of information criterion

Usage

1
2
3
4
5
6
7
8
make_categories(
  positions,
  min.iter = positions[agent.id > 1, min(id)],
  max.iter = positions[, max(id)],
  package = "mclust",
  reportf = NULL,
  ...
)

Arguments

positions

set of market positions

max.iter

maximum iteration to categorize

package

which clustering package to use

reportf

verbosity function (NULL to be quiet)

...

capture additional arguments

init.iter

initial iteration to categorize (usually after insertions)


balachia/pcPack documentation built on Dec. 19, 2021, 6:40 a.m.