Description Usage Arguments Details Value Examples
View source: R/SimNonNormalDist.R
SimNonNormalDist is a support function for generating samples from mixture distribution.
There are five categories. Each categories has nInv
samples.
Categories C1,C2,C3, and C4 are dominated by C5 but none of them dominate each other.
1 | SimNonNormalDist(nInv, noisePer)
|
nInv |
is a number of samples the function will generate for each category. |
noisePer |
is ratio of uniform distribution within a mixture distribution. It is considered as a uniform noise that make an approach to hardly distinguish whether one distribution dominates another. |
The main purpose of this function is to generate samples that contains domination relation among categories.
This function returns a list of samples Values
and their category Group
generated by a mixture distribution.
Values |
A vector of samples generated by a mixture distribution. |
Group |
A list of categories associated with |
V1,...,V5 |
Lists of sample vectors separated by categories. |
1 2 3 | # Generate simulation data with 100 samples per categories with 10% of uniform noise
simData<-SimNonNormalDist(nInv=100,noisePer=0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.