generate_dataset {simuclustfactor}R Documentation

Three-Mode Dataset Generator for Simulations

Description

Generate G clustered synthetic dataset of I objects measured on J variables for K occasions with additive noise.

Usage

generate_dataset(
  I = 8,
  J = 5,
  K = 4,
  G = 3,
  Q = 3,
  R = 2,
  centroids_spread = c(0, 1),
  noise_mean = 0,
  noise_stdev = 0.5,
  seed = NULL
)

Arguments

I

Number of objects.

J

Number of variables per occasion.

K

Number of occasions.

G

Number of clusters.

Q

Number of factors for the variables.

R

Number of factors for the occasions.

centroids_spread

interval from which to uniformly pick the centroids.

noise_mean

Mean of noise to generate.

noise_stdev

Noise effect level/spread/standard deviation.

seed

Seed for random sequence generation.

Value

Z_i_jk: Component scores in the full space.

E_i_jk: Generated noise at the given noise level.

X_i_jk: Dataset with noise level set to noise_stdev specified.

Y_g_qr: Centroids matrix in the reduced space.

U_i_g: Stochastic membership function matrix.

B_j_q: Objects component scores matrix.

C_k_r: Occasions component scores matrix.

Examples

generate_dataset(seed=0)


[Package simuclustfactor version 0.0.3 Index]