Learn R Programming

mtk (version 1.0)

getDistributionName-methods: The getDistributionName method

Description

Returns the name of the distribution associated with a domain or a factor.

Usage

getDistributionName(this)

Arguments

this
the underlying object of the class to proceed (mtkDomain or mtkFactor).

Value

Examples

Run this code

# Create a domain and get the name of its distribution 
	d <- mtkDomain(distributionName="unif", domainNominalValue=0)
	distribution <- getDistributionName(d)

# For more information, see examples for the mtkDomain or
# mtkFactor classes.

Run the code above in your browser using DataLab