mk_toy: Make a toy dataset to test the 3d BaTFLED model.
Description
Returns a toy model with the specified size, sparsity and noise generated
either with a CP or Tucker factorization model.
Values in predictor matrices (X1, X2, X3) are pulled from a standard normal
distribuion. Dummy names are given to the predictors.
# NOT RUN {data.params <- get_data_params(c('decomp=Tucker'))
toy <- mk_toy(data.params)
data.params <- get_data_params(c('decomp=CP'))
toy <- mk_toy(data.params)
# }