Description Usage Arguments Value Examples
The constructor of the class mtkDomain
.
1 2 |
distributionName |
a string corresponding to the distribution name associated with the domain. |
domainNominalValue |
an object of the |
distributionParameters |
a list to hold the parameters of the distribution associated with the domain. |
an object of the mtkDomain
class
1 2 3 4 5 6 7 8 9 | # creates a new domain with a continue distribution
d <- mtkDomain(distributionName="unif", domainNominalValue=0,
distributionParameters = list(max=3, min=0))
# creates a new domain with a discrete distribution
d <- mtkDomain(distributionName="discrete", domainNominalValue=3,
distributionParameters = list(type='categorical',
levels = c(1,2,3,4,5), weights=rep(0.2, 5)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.