make_synthetic_dataset: Generate synthetic dataset.

Description Usage Arguments

View source: R/gen_syn_data.R

Description

This function generates a synthetic dataset that corresponds to a tree of the form tree <- list(c(5, 1, 2), c(5, 3), c(0, 4))

Usage

1
make_synthetic_dataset(N = 500, mg2 = 0.3, seed = 42)

Arguments

N

Number of samples in each class.

mg2

Classwise means of second group (attibute 3)

seed

Random seed. Default is 42.


bwrc/astrid-r documentation built on June 24, 2017, 8:05 p.m.