Description Usage Arguments Value Author(s) Examples
Returns a string indicating the data type associated with the underlying object.
1 | getType(this)
|
this |
an object of the underlying class. |
a string
Juhui WANG, MIA-jouy, INRA
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Define a factor
x1 <- make.mtkFactor(name="x1", distribName="unif",
distribPara=list(min=-pi, max=pi))
# Return the data-type associated with the factor
t <- getType(x1)
# Create an object of the 'mtkFeature' class.
f <- mtkFeature(name="x", type="double", val=0.0)
# Return the data-type associated with the feature
getType(f) # gives 'double'
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.