Description Usage Arguments Value Author(s) Examples
Returns the weights of the discrete distribution associated with the factor's domain.
1 |
this |
the underlying object of the class to proceed ( |
a list of numeric values.
Juhui WANG, MIA-jouy, INRA
1 2 3 4 5 6 7 | # Create a discrete domain
x1 <- make.mtkFactor(name="x1", distribName="discrete",
distribPara= list(type='categorical',
levels = c(1,2,3,4,5), weights=rep(0.2, 5)))
# Returns the weights of the associated discrete distribution
getDiscreteDistributionWeights(x1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.