simulate_blocs: Simulate data grouped into different blocks

Description Usage Arguments Value Examples

View source: R/simulate_blocs.R

Description

\Sexpr[results=rd, stage=render]{lifecycle::badge("questioning")}

The function 'simulate_blocs()' allows you to generate data grouped into different blocks. Outliers can be added to the data.

Usage

1
simulate_blocs(n, M = 2, ratio_card_max = 2, epsilon = 0, trunc_eps = TRUE)

Arguments

n

number of observations

M

number of blocks

ratio_card_max

maximal value of the ratio between the cardinality of the different groups

epsilon

proportion of outliers

trunc_eps

TODO

Value

a data-frame with three cols

* x, y: the realizations of the * clusters:

Examples

1

klutchnikoff/robustSL documentation built on Nov. 16, 2021, 5:33 p.m.