Description Usage Arguments Value Examples
This function will test if the simulated data sets have the proper properties, such as correct data types, orghogonal score matrix, score matrix has 0 column means, element-wise sparsity, with correct SNRs.
1 | test_dataSimu_element(n, ds, R, dataTypes)
|
n |
the number of objects |
ds |
a vector for the number of variables in each data set |
R |
number of simulated PCs |
dataTypes |
a string indicates the data type of each data set, possible options include 'G': Gaussian, 'B': Bernoulli. |
This function returns a list contains all the test results
1 2 3 4 5 6 7 | ## Not run:
test_results_GGG <- test_dataSimu_element(n=n, ds=ds,R=3
dataTypes = 'GGG')
test_results_BBB <- test_dataSimu_element(n=n, ds=ds,R=3
dataTypes = 'BBB')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.